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

Simple difficulties with pf template

1509971701

Edited 1509973606
So, I am pretty unexperienced with template's use. In a game where I am a player, which uses a Pathfinder sheet, I am trying to make a macro for some kind of "variable" spells, but it is not working: If I set: &{template:pf} {{charName=Mike Kunness}} {{attr=?{effect|} ?{target|} ?{augment|Augment I|Augment II|}}} {{level=?{level|0|1|2|3}}} {{Targets/Area=?{area|personal|10'|15'|20'|30'|40'|60'|one target|@{Mike Kunness|level} targets}}} I get only the 'charName' and 'attr' parts. Other queries work properly, but are not displayed in the chat. If I write &{template:pf_generic} instead of &{template:pf}, again all queries work but nothing at all is displayed, not even 'charName' or 'attr'. Buttons in the character sheet use &{template:pf}. I am sure I am missing something very simple due to my absolute lack of experience using templates. Most thankful for any help!
1509973751
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Which pathfinder sheet is your game using? Based on the template name, it's not neceros.
Scott C. said: Which pathfinder sheet is your game using? Based on the template name, it's not neceros. How can I know that? I mean, as you say, it is not the "regular" Pathfinder sheet, which I use in the game I run, but how can I get the name of this one?
1509975769

Edited 1509975828
The Aaron
Pro
API Scripter
You would find it in the Game settings.  Pretty sure that the Pathfinder_Cazra sheet. Edit: And you're a player so don't have access to that.  For a player, you'd ask the GM, or sometimes it will be listed at the bottom of a character.
Ok, so if I understand properly, that would not be a "typical" template behavior, is it so? Here is a screenshot of the sheet
1509976951
The Aaron
Pro
API Scripter
Yup, that's Pathfinder_Cazra.  My knowledge ends here.  Take it away Scott! =D
1509977461

Edited 1509977506
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Well, I don't know much about the Cazra sheet, I've never used it, but looking at the code for the roll template that the sheet uses, it only accepts specific fields (anything else just isn't displayed). The fields appear to be: {{charName}}, {{attr}}, {{isAttack}}, {{result}}, {{critConfirm}}, {{critDamage}}, {{damage}}, {{notes}}, and {{isNotAttack}} isAttack determines if critConfirm, critDamage, and damage are displayed (the crit ones are only displayed on a crit). isNotAttack looks to have been included as a way to positively flag a roll as not an attack rather than doing it negatively via a lack of isAttack, although it should be noted that it is probably possible to flag both and wind up with your result and notes fields duplicated. So, TL;DR version: You can't do what you are trying with this template. You could put all of your additional information into the notes field though.
The Aaron ,  Scott C. , thank you very much for your help! Now I know my possibilities and will do what I can with them.