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

Within a single game, the macro %{ works for some abilites and not others

1605547097

Edited 1605549377
I am playing first edition Pathfinder in a game in which I've designed a number of simple macros for common actions for my character. Except that despite the fact that the syntax is always the same, sometimes it rolls properly, and other times it just displays text.  For example, I have one macro for Fortitude Saves that says %{character name|Fortitude} and whenever I press it it works just fine (appearing as the value of the rolled Fortitude save). But if I try exactly the same syntax for stealth @{character name|stealth}, it appears literally as text in the chat log. Now you would think it's because I have a spelling error in there or something. But no. What's worse is that if I use the exact same syntax of %{character name|fortitude} in a different game, it appears as text instead of rolling the value. So it works for my character in one pathfinder game, and not in another using the exact same character sheet.  I really don't understand what I'm doing different or why the "%" function only works sometimes. 
1605548977
GiGs
Pro
Sheet Author
API Scripter
The @ is for calling attributes, the % is for calling macros built into the sheet (also called Abilities). One reason this sometimes happens is because the attribute or ability isnt set properly on the sheet. So I'd check those specific characters, and see if the attributes and abilities properly exist.
Instead of @{character name|stealth} try %{character name|stealth. That different symbol makes all the difference in what you're telling Roll20 to do.
Sorry guys, I miswrote in my original post "@" when I meant "%".  What I mean to say is using the exact same syntax of %{character name|fortitude} works in one game, but doesn't in another with the same system / sheet.  Or in a single game it works with one set of abilities like Fortitude, but not with another like Stealth.  When it works, it rolls the skill properly. When it doesn't it appears as plain text. 
1605550705
GiGs
Pro
Sheet Author
API Scripter
I refer you to my previous answer.