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 .
×

Makro for for DnD 5e, saving throw without selecting a token

Hi Is there any macro so I can make a roll for a saving throw in dnd 5e without selecting a token? So it always does a roll for e.g constitution for a character named XYZ?
1666437647

Edited 1666437675
Gauss
Forum Champion
Yes, you can do that. It depends on what you want it to look like.  The simplest method is to go to the character's Attributes & Abilities tab, scroll down to the saving throw you want and copy it.  Example taken from "constitution_save_roll" @{wtype}&{template:simple} {{rname=^{constitution-save-u}}} {{mod=@{constitution_save_bonus}}} {{r1=[[@{d20}+@{constitution_save_bonus}@{pbd_safe}]]}} {{always=1}} {{r2=[[@{d20}+@{constitution_save_bonus}@{pbd_safe}]]}} {{global=@{global_save_mod}}} @{charname_output} Then put that in an Ability macro
1666439624
David M.
Pro
API Scripter
Putting it in an ability macro would still require the token to be selected, though, right? Sounds like you are looking for a collections macro. Here's a conversion of the above example for your XYZ character:  @{XYZ|wtype}&{template:simple} {{rname=CONSTITUTION SAVE}} {{mod=@{XYZ|constitution_save_bonus}}} {{r1=[[@{XYZ|d20}+@{XYZ|constitution_save_bonus}@{XYZ|pbd_safe}]]}} {{always=1}} {{r2=[[@{XYZ|d20}+@{XYZ|constitution_save_bonus}@{XYZ|pbd_safe}]]}} {{global=@{XYZ|global_save_mod}}} @{XYZ|charname_output}
1666442007

Edited 1666442559
Gauss
Forum Champion
David M. said: Putting it in an ability macro would still require the token to be selected, though, right? No, Ability Macros do not require the token to be selected.  You may be thinking of Token Actions, which an Ability Macro *could* be set up as, but doesn't have to be. They can be either Macro bar macros or Token Action macros.  The nice part about Ability Macros is they do not need charactername in many parts of the macro, the charactername is automatically assigned due to being in the Ability Macro.  However, Collection Tab Macros do require character name for everything (or "selected").  Additionally, Ability macros are portable, they travel with the character, while Collection tab macros are not. 
Both work! Thank you very much! Can you also point out for me with parto of macro determine if macro is whispered to GM or it is public? It propably is silly question but I trying to understand how it works.
1666443299

Edited 1666443449
Gauss
Forum Champion
Nad E. said: Both work! Thank you very much! Can you also point out for me with parto of macro determine if macro is whispered to GM or it is public? It propably is silly question but I trying to understand how it works. If it is the one I gave you put /w GM in front of the macro.  Example:  /w GM @{wtype}&{template:simple} {{rname=^{constitution-save-u}}} {{mod=@{constitution_save_bonus}}} {{r1=[[@{d20}+@{constitution_save_bonus}@{pbd_safe}]]}} {{always=1}} {{r2=[[@{d20}+@{constitution_save_bonus}@{pbd_safe}]]}} {{global=@{global_save_mod}}} @{charname_output} Alternately, if you want to use the character sheet's whisper toggle or whisper query, use an Ability Macro and it will apply the whisper criteria based on what the character sheet is set for. 
Thank you so much!
1666448168
David M.
Pro
API Scripter
Gauss said: They can be either Macro bar macros or Token Action macros.  Yep, that's what I get for going from memory. I've never actually put an ability on the macro bar (I prefer token actions for character-specific stuff), but looking at it: there it is right there! :) Thx for the correction
1666450191

Edited 1666450210
Gauss
Forum Champion
David M. said: Gauss said: They can be either Macro bar macros or Token Action macros.  Yep, that's what I get for going from memory. I've never actually put an ability on the macro bar (I prefer token actions for character-specific stuff), but looking at it: there it is right there! :) Thx for the correction For my players I set things up as Macro bar macros due to the appearance of the bar being better than Token Actions (except for certain Token Actions such as initiative that use "selected" in the macro).  For my GM controlled NPCs I use Token Actions.