Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Making Nested macros whisper without additional macros

Is it possible to have a whispered nested macro, also whisper the results after you click the button? I have a "saving throws" nested macro that whispers to me just fine, but when I select the button, it rolls the saving throw for everyone to see. Now I found a way to make a nested macro call another macro thus making it whisper, but this makes me have 7 macros instead of just one.


My current macro:

/w gm &{template:npcaction} {{name=Saving Throws}} {{description=[STR](~Selected|npc_str_save)[DEX](~Selected|npc_dex_save)[CON](~Selected|npc_con_save)[INT](~Selected|npc_int_save)[WIS](~Selected|npc_wis_save)[CHA](~Selected|npc_cha_save)}}

The current result:

The desired result:


I don't really care what the output of the save looks like, as long as its whispering both the nested choice, and the result to me. I'd like to do this without having multiple macros for each save in the sheet.

What if you just set the NPC to always whisper rolls?


Mark B. said:

What if you just set the NPC to always whisper rolls?


I need the NPC attacks and abilities to enter chat normally


June 11 (5 years ago)

Edited June 11 (5 years ago)

Setting it to query would work, but kind of an annoying work around.  I'd rather just call up macros for each roll you want whispered.

June 12 (5 years ago)

Edited June 12 (5 years ago)
Oosh
Sheet Author
API Scripter

If you don't want to use the toggle or query each time, making your own saving throw macros will be easiest.

Make a character called Macros (if you don't already have a macro character sheet).

Pinch the default NPC saving throw macro.

Paste it into an Ability macro on the Macros sheet using the same naming as default: npc_save_wis for example

Either hardcode it with /w gm at the start of each saving throw macro, or use the wtype saved on the Macros character sheet as your toggle if you think you might want to change it later:

/w gm &{template:npc} @{selected|npc_name_flag} {{rname=^{wisdom-save}}} {{mod=[[[[@{selected|npc_wis_save}]][WIS SAVE]]]}} {{r1=[[@{selected|d20}+[[@{selected|npc_wis_save}]][WIS SAVE]]]}} @{selected|rtype}+[[@{selected|npc_wis_save}]][WIS SAVE]]]}} {{type=Save}}

or

@{Macros|wtype} &{template:npc} @{selected|npc_name_flag} {{rname=^{wisdom-save}}} {{mod=[[[[@{selected|npc_wis_save}]][WIS SAVE]]]}} {{r1=[[@{selected|d20}+[[@{selected|npc_wis_save}]][WIS SAVE]]]}} @{selected|rtype}+[[@{selected|npc_wis_save}]][WIS SAVE]]]}} {{type=Save}}


Once you have the six saving throws all saved under Abilities, change your menu macro above to call those instead of the @{selected} version:

{{description=[STR](~Macros|npc_str_save)[DEX](~Macros|npc_dex_save) .... and so forth

The new versions still rely on having the correct token selected when clicked to grab their saving throw bonus, but no longer rely on the npc sheet's wtype setting.

Obviously this will only affect saving throws - if you need secret rolls for stealth, perception or anything else that will be another couple of macros to customise.


I know your subject says "without additional macros", but this will take 5 minutes to set up and is universal. The only other way to achieve it is setting whisper type to Query, as Mark said.

@Oosh Thanks! That's an interesting work around I hadn't considered. I do use a macros sheet, just never thought to whisper that sheet, and didn't know about the "wtype" addition. That works great. Thanks again!