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

Macro calling specific character's pb and dexterity_mod

G'day, I've created a macro button to display the relevant DC for my character's battlemaneuver Push:  8+proficiency+Dex modifier so the DM has the info on hand. [[8+@{selected|pb}+@{selected|dexterity_mod}]] This works but requires having my token selected. Is there a way to call the information directly from my character without the token being selected e.g. instead of using 'selected' there is an alternative where I name the charactersheet to set and forget?  This is simply to have one less thing to remember, one less click to make. I'm playing in a non-Pro game.  Thanks in advance.
1674712693
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi David! Sure thing! Just use your character name. Example: [[8+@{Bob the Slayer|pb}+@{Bob the Slayer|dexterity_mod}]] Make sure that your character doesn't have any "control characters" in it, things that might confuse a macro, like quotes, parenthesis or brackets.
Excellent. Thanks very much.