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

[5e Community] Dropdown Menu For Saves Help

I am trying to create a macro for my players so they can have a drop down menu for their saves. I have got the macro to mostly work, but I think the roll query is messing with the rollname. It is not showing up in the template. Do I have to change something or is there a better way to do this?  &{template:5eDefault} {{character_name=@{AAA|character_name}}} {{title=?{Save|STR} saving throw}} {{subheader=@{AAA|character_name}}}{{save=1}} {{simple=1}} ?{Save|STR,{{rollname=STR save}} {{roll1=[[ 1d20 + [[@{AAA|strength_save_mod}]] + [[@{AAA|global_saving_bonus}]] ]]}} @{AAA|ro_strsave} @{AAA|classactionstrengthsave}}
1459379516

Edited 1459379957
When you Submit a Roll Query (i.e. assign it a value), every following Roll Query that shares the same name is parsed to the value of the first. e.g. If you Submit the default value of ?{Save|STR}, all future Roll Queries named Save will be parsed to STR. Since ?{Save|STR, {{rollname=STR save}} {{roll1=[[ 1d20 + [[@{AAA|strength_save_mod}]] + [[@{AAA|global_saving_bonus}]] ]]}} @{AAA|ro_strsave} @{AAA|classactionstrengthsave} } comes after ?{Save|STR}, it would be replaced with STR, as well. Unfortunately, the above is not the only issue you may have to address in the creation of this macro. The second issue concerns the fact that Roll Template syntax clashes with the Roll Query syntax in a way that's explained by Advanced Usage for Roll Queries . Unless the appropriate character replacements are made to {{rollname=STR save}} {{roll1=[[ 1d20 + [[@{AAA|strength_save_mod}]] + [[@{AAA|global_saving_bonus}]] ]]}} @{AAA|ro_strsave} @{AAA|classactionstrengthsave} , it will not be able to be nested within a Roll Query. If you'd prefer, this second issue could be worked around like so: &{template:5eDefault} {{character_name=@{AAA|character_name}}} {{title=?{Save|(@{AAA|strength_save_mod}) STR|(@{AAA|dexterity_save_mod}) DEX|etc.|etc.} saving throw}} {{subheader=@{AAA|character_name}}} {{save=1}} {{simple=1}} {{rollname=?{Save} save}} {{roll1=[[ 1d20 + [[?{Save}]] + [[@{AAA|global_saving_bonus}]] ]]}}
1459398219

Edited 1459398623
Here's what I use as a token action save: (Edit: I can't quite manage to get my code to paste in correctly— the escape codes keep rendering. So let's try this: Replace every instance of the character % with the ampersand ( & ) when you paste it in to your campaign.) %{template:5eDefault} {{save=1}}  ?{Ability|Dexterity, %#123;%#123;title=Dexterity%#125;%#125; %#123;%#123;roll=[[d20 + [[@{selected|dexterity_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125; %#123;%#123;rolladv=[[d20 + [[@{selected|dexterity_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125;|Strength, %#123;%#123;title=Strength%#125;%#125; %#123;%#123;roll=[[d20 + [[@{selected|strength_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125; %#123;%#123;rolladv=[[d20 + [[@{selected|strength_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125; |Constitution, %#123;%#123;title=Constitution%#125;%#125; %#123;%#123;roll=[[d20 + [[@{selected|constitution_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125; %#123;%#123;rolladv=[[d20 + [[@{selected|constitution_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125;|Intelligence, %#123;%#123;title=Intelligence%#125;%#125; %#123;%#123;roll=[[d20 + [[@{selected|intelligence_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125; %#123;%#123;rolladv=[[d20 + [[@{selected|intelligence_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125;|Wisdom, %#123;%#123;title=Wisdom%#125;%#125; %#123;%#123;roll=[[d20 + [[@{selected|wisdom_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125; %#123;%#123;rolladv=[[d20 + [[@{selected|wisdom_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125;|Charisma, %#123;%#123;title=Charisma%#125;%#125; %#123;%#123;roll=[[d20 + [[@{selected|charisma_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125; %#123;%#123;rolladv=[[d20 + [[@{selected|charisma_save_mod}]] + (@{selected|global_saving_bonus})]]%#125;%#125;} {{subheader=Saving Throw}} {{subheaderright=@{selected|token_name}}} {{rollname=Result}}