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

Character Sheet Macro Reference

1418537393
PrincessFairy
Marketplace Creator
I have created a macro for targeting players AC but I am running my head into a break wall trying to target a players touch AC or flat footed AC. [[1d20 + ?{modifier} @{target|touchAC}]] [[1d20 + ?{modifier} @{target|flatfootedAC}]] It doesn't work, is there a list of character sheet commands or can someone just tell me how to target it correctly.
1418540432
Lithl
Pro
Sheet Author
API Scripter
What character sheet are you using? Also, you'll probably want something like [[d20+modifier>@target|AC]] or [[d20+modifier]] vs @target|AC. The former (>AC) will report a success if your d20+mod beats the target number, whereas the latter will simply remort the roll and the target number. What you've written will likely cause errors.
1418543604

Edited 1418594159
vÍnce
Pro
Sheet Author
For the Pathfinder sheet use [[1d20 + ?{modifier}]] vs [[@{target|Touch}]] [[1d20 + ?{modifier}]] vs [[@{target|Flat-Footed}]]
1418554853
Gen Kitty
Forum Champion
When doing comparisons, I like to break it into two parts, so the eye is naturally drawn to what is being compared. [[1d20 + ?{modifier}]] vs [[@{target|Touch}]] Touch, [[@{target|Flat-Footed}]] Flat-Footed Secondly, if you're using character sheets you need to figure out precisely what the name is of the attribute you're trying to reference. I avoid character sheets like the plague, so I can't help with *that* bit, sorry :)
1418568743
Tom
Plus
Sheet Author
I use a configuration very similar to GenKitty. The only downside is the players will know the AC of the target. Granted, that's only a downside if you are a GM who likes to keep those things a mystery (a nicety I gave up after the move to R20). However, you could always add a /w GM before the "vs". That would keep those values a secret, but it would get pretty messy in the chat window over time.
1418662757

Edited 1418662847
PrincessFairy
Marketplace Creator
I keep getting this response even though the character sheet is filled out No attribute was found for targeted token by the name of TouchAC No attribute was found for targeted token by the name of FlatFootAC No attribute was found for targeted token by the name of Touch No attribute was found for targeted token by the name of Flat-Footed I used GenKitty information be sure I got it correct but for some reason it is not picking the information up??? However @{target|bar3} works
1418663122
Lithl
Pro
Sheet Author
API Scripter
Is the token you're targeting linked to a character? Do you have the Pathfinder sheet selected in campaign settings?
1418704264
PrincessFairy
Marketplace Creator
Yes I have both selected and linked.
1418705950

Edited 1418706051
vÍnce
Pro
Sheet Author
Just to verify, you can shift+double-click the target token in question and it opens the journal/character sheet? Also, verify the sheet has an attribute created for AC, Touch, and Flat-Footed. The sheet doesn't actually create the attribute until you have input info into the sheet for those fields, either directly or thru auto-calculated areas. I get the same error as you if the token is not linked to a sheet, but works fine otherwise.