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

5E 2014 Macro - Selected Token Save Throws

March 24 (1 week ago)

Edited March 24 (1 week ago)

Having some issues with a macro I am making for my GM who is new to roll20, we are using the "D&D 5e 2014 by Roll20" sheet. Currently we are not open to plugins and API's so we are staying within the confines of macros for now. 

Trying to make a macro that displays various stats and buttons for common actions that can be run for the selected token, macro so far:

/w gm &{template:default} {{name=@{selected|character_name} }} {{Stats= **HP: ** @{selected|hp} / @{selected|hp|max}
**AC: **@{selected|ac}
[Perception](~selected|perception)** Passive: **@{selected|passive_wisdom} }} {{Saving Throws= [Strength](~selected|@{selected|strength_save_roll}) }}

And the above without the html conversions for convenience:

@{selected|strength_save_roll}

I have 2 things I am struggling with I am hoping y'all can help with, firstly I am receiving an error on my save throw though it does still work I would like to remove the error text.

Secondly I would like to have a query that asks if the save throws, perception checks or anything else I might add in there should be /w to gm or public, I am not sure how to implement this in a macro context.

Hope y'all can steer my in the right direction! 

March 24 (1 week ago)

My browser or the forum itself is being funny about adding the image to my OP, so here it is! 

March 24 (1 week ago)

Edited March 24 (1 week ago)

The ~ shortcut links to an ability, not attribute, and the roll as a whole is saved as an attribute. Try

/w gm &{template:default} {{name=@{selected|character_name} }} {{Stats= **HP: ** @{selected|hp} / @{selected|hp|max}
**AC: **@{selected|ac}
[Perception](~selected|perception)** Passive: **@{selected|passive_wisdom} }} {{Saving Throws= [Strength](!/
 @{@{selected|character_name}|strength_save_roll}) }}

instead. You only need to html replace the command character for the call, the rest of the call won't cause you any trouble here.

March 24 (1 week ago)

Throwing out the option of using the D&D 5E Statblock Macromule - it creates a series of chat menus that include all of the rolls that a character can make, as well as menus for stats and other things. It works for both PCs and NPCs, and doesn't require a Plus or Pro subscription (a paid subscription just makes it easier to create the Statmule, but isn't used afterwards).

Since you have a Pro subscription, you can create the Statmule in your own game, and then import it into another game that you are playing in, even if that GM doesn't have a paid subscription.  Once it is imported, the GM will simply need to adjust the player permissions if they want you as a player to be able to use it as well, and the GM will need to create the Collections macros.