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

Selected feature not working

I spent hours this weekend setting up macros for my players and monsters. They worked fine this weekend, but tonight (when I'm about to actually run a campaign), instead of rolling a result, I just get text. Example: @{selected|athletics_roll} Instead of rolling the appropriate stat, it just displays selected|athletics_roll. I have it selected as a token, and I've shared it with all of the players. If I change "selected" to a specific character's name, it works perfectly. But then I'd have to build 6 different sets of macros and still not have one that works on my NPC tokens. HELP!!!!
1599626168
Oosh
Sheet Author
API Scripter
It sounds like you're running the macro with a token selected which is not linked to a character sheet. After you have linked a token to a character sheet (double-click the token and choose from the "Represents Character" drop-down menu), you need to open the character sheet, then click "Edit" in the top right, remove the default token and re-save it. If you don't do this, any tokens you drag onto the canvas from the Journal will not have any of the changes you've made to the token (including the "Represents" field).
1599662250
Andreas J.
Forum Champion
Sheet Author
Translator
Christopher W. said: I spent hours this weekend setting up macros for my players and monsters. They worked fine this weekend, but tonight (when I'm about to actually run a campaign), instead of rolling a result, I just get text. Example: @{selected|athletics_roll} You're attempting to call an attribute named athletics_roll with that call. So beside what Oosh said, there might be something else astray here. If there is a macro you have saved to the character sheet, or a named roll button from the sheet, you should call: %{selected|athletics_roll} From the wiki : Macro calls (using # ), Attribute calls (using @ ) and Ability calls (using % ).