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

Macros with Pathfinder character sheets

Hello Everyone!

This will be my first time GMing and using roll20. I'm currently trying to better familiarize myself with macros specifically with the pathfinder sheet. I realize a large majority of things (skill checks, attacks, etc) can be clicked on in the sheet and work as a macro. What I am trying to due is:


1.) Make a macro that will be labeled Skills. When a player clicks it then be able to select which skill out of the list (without blowing up everyone's chat box) and the skill selected roll be whispered to me.

2.) Have a similar set up for me, to then be able to roll a secret skill check for all my players and see all the results. So for example they walk into room with hidden enemy, I select party skills then select perception, and see their rolls inline for each players roll.

I am having difficulties finding which "abilities" are correlated to which skills and rolls on the sheet. So help here would be appreciated as well.

I would also like to do a similiar thing for each of my players main actions that require rolls. Such as attacking. So for instance they select attack, then select Longsword or Longsword Two Handed or Bow or Power Attack and it correlate to the weapon under there sheet. Though I believe once I figure out how to do one, and how to identify the correct ability name it will be near the same correct?

Thanks in advance for any ideas, tips or help!

Airrick




June 23 (6 years ago)

Edited June 23 (6 years ago)
vÍnce
Pro
Sheet Author

Hi Airrick,

FYI: The chat menus provided on the Community sheet are only seen by the person using them and you do have an option on the sheet to make rolls public or whispered (although the person whispering the roll to the gm will also see the result... there are API scripts(Pro perk) !broll comes to mind that will allow "hidden" rolls that only the GM can see)  As the GM, you can also use a chat menu to roll nearly everything on a sheet in secret without ever opening the sheet.   

Player's/GM can also drag/drop any button roll  found on a sheet(including the chat menu buttons) to the quickbar, where they can be renamed and colorized (yay!)

If you hover over various fields on the sheet, you can learn most of the attribute's names.  Repeating attributes like attacks, abilities and spells will require a rowID (also provided on the sheet) be included with the attribute name in order to access a given attribute's value.

You can also look at the macro-text field of each skill as well as the various repeating rows to learn what attribute names are being used in the roll.

Other than the total skill modifier e.g. @{Acrobatics} (which includes the various attributes that effect the total modifier) which attributes are looking for?

You also might like a couple general Skill macros I've borrowed (I think these are from Mark...)

Skill-grouping macro (pathfinder community sheet)

&{template:pf_attack} {{name=?{Skill Grouping 
| Athletics, @{selected|token_name} Athletics Check}} {{[[1d20 + @{selected|ACROBATICS}  ]] Jump=Acro [[1d20 + @{selected|ACROBATICS}  ]] }} {{[[1d20 + @{selected|CLIMB} ]] Climb=Swim [[1d20 + @{selected|SWIM} ]]}}  {{[[ 1d20 + @{selected|RIDE} ]] Ride=Fly [[1d20 + @{selected|FLY}]]  
| Conversation/Interaction, @{selected|token_name} Conversations}} {{[[1d20cs0cf0 + @{selected|INTIMIDATE} ]] Intim=Diplo [[1d20cs0cf0 + @{selected|DIPLOMACY} ]]}} {{[[1d20cs0cf0 + @{selected|SENSE-MOTIVE} ]] Sense=Bluff [[1d20cs0cf0 + @{selected|BLUFF} ]]}} {{ [[ (1d20cs0cf0+@{selected|handle-animal}) * ceil(@{selected|handle-animal-ranks}/100)]] Handle Animal =  Performance[[1d20cs0cf0 + @{selected|perform}]]
| Knowledge, @{selected|token_name} Knowledges}} {{[[(1d20 + @{selected|Knowledge-Arcana}) * ceil(@{selected|Knowledge-Arcana-ranks}/100) ]]Arcana=Nature[[(1d20 + @{selected|Knowledge-Nature}) * ceil(@{selected|Knowledge-Nature-ranks}/100) ]] }}  {{[[(1d20 + @{selected|Knowledge-Planes}) * ceil(@{selected|Knowledge-Planes-ranks}/100) ]]Planes=Religion[[(1d20 + @{selected|Knowledge-Religion}) * ceil(@{selected|Knowledge-Religion-ranks}/100) ]]}} {{[[(1d20 + @{selected|Knowledge-dungeoneering}) * ceil(@{selected|Knowledge-dungeoneering-ranks}/100) ]]Dungeon=Geography[[(1d20 + @{selected|Knowledge-Geography}) * ceil(@{selected|Knowledge-Geography-ranks}/100) ]]}}  {{[[1d20 + @{selected|Appraise}]]Appraise=Engineer[[(1d20 + @{selected|Knowledge-Engineering}) * ceil(@{selected|Knowledge-engineering-ranks}/100) ]]}}  {{[[(1d20 + @{selected|Knowledge-History}) * ceil(@{selected|Knowledge-History-ranks}/100) ]]History=Linguistics[[(1d20 + @{selected|Linguistics}) * ceil(@{selected|Linguistics-ranks}/100) ]]}}  {{[[(1d20 + @{selected|Knowledge-Local}) * ceil(@{selected|Knowledge-local-ranks}/100) ]]Local=Nobility[[(1d20 + @{selected|Knowledge-Nobility}) * ceil(@{selected|Knowledge-Nobility-ranks}/100) ]]}} {{[[1d20cs0cf0+@{selected|Heal}]] Heal = Craft[[1d20cf0cs0+@{selected|craft}]]
| Senses, @{selected|token_name} Senses}}  {{ [[1d20cs0cf0 + @{selected|PERCEPTION}  ]]Perception  = Survival[[1d20cs0cf0+@{selected|Survival}]] }} {{ [[ (1d20cs0cf0+@{selected|spellcraft}) * ceil(@{selected|spellcraft-ranks}/100) ]]SpellCraft = 
| Skullduggery, @{selected|token_name} Skullduggery}} {{[[1d20cs0cf0 + @{selected|Stealth} ]] Stealth= Disguise [[1d20cs0cf0 + @{selected|Disguise} ]]}}  {{ [[1d20cs0cf0 + @{selected|Escape-Artist}]] Escape = Disable [[(1d20cs0cf0 + @{selected|disable-device}) * ceil(@{selected|disable-device-ranks}/100)  ]]}} {{[[ (1d20cs0cf0 + @{selected|sleight-of-hand}) * ceil(@{selected|sleight-of-hand-ranks}/100) ]]Sleight=
| UMD, @{selected|token_name} UMD Check: [[ (1d20 + @{selected|Use-Magic-Device}) * ceil(@{selected|Use-Magic-Device-Ranks}/100)  ]] }} {{25 =Activate Blindly}}{{25 + Sp Lvl=Decipher Scroll}}{{20 + caster level=Use Scroll}}{{20=Use wand / Emulate class}}{{25=Emulate Race}}{{30=Emulate Align 
 } }}

Knowledge Check (pathfinder community sheet)

@{selected|PC-whisper} &{template:pf_generic} @{selected|toggle_accessible_flag} @{selected|toggle_rounded_flag}{{color=@{selected|rolltemplate_color}}} {{header_image=@{selected|header_image-pf_generic}}} {{name=Knowledge Check}} {{subtitle=@{selected|token_name} }} {{ [[-1*floor((0-@{selected|Knowledge-Arcana-ranks}+0.1)/(abs(0-@{selected|Knowledge-Arcana-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-Arcana}) - floor((@{selected|Knowledge-Arcana-ranks}-0.1-0)/(abs(@{selected|Knowledge-Arcana-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-Arcana}),0d0+10}kl1)]] **Arcana=Dungeoneering [[-1*floor((0-@{selected|Knowledge-Dungeoneering-ranks}+0.1)/(abs(0-@{selected|Knowledge-Dungeoneering-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-Dungeoneering}) - floor((@{selected|Knowledge-Dungeoneering-ranks}-0.1-0)/(abs(@{selected|Knowledge-Dungeoneering-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-Dungeoneering}),0d0+10}kl1)]] }} {{ [[-1*floor((0-@{selected|Knowledge-Engineering-ranks}+0.1)/(abs(0-@{selected|Knowledge-Engineering-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-Engineering}) - floor((@{selected|Knowledge-Engineering-ranks}-0.1-0)/(abs(@{selected|Knowledge-Engineering-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-Engineering}),0d0+10}kl1)]] **Engineering=Geography [[-1*floor((0-@{selected|Knowledge-Geography-ranks}+0.1)/(abs(0-@{selected|Knowledge-Geography-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-Geography}) - floor((@{selected|Knowledge-Geography-ranks}-0.1-0)/(abs(@{selected|Knowledge-Geography-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-Geography}),0d0+10}kl1)]] }} {{ [[-1*floor((0-@{selected|Knowledge-History-ranks}+0.1)/(abs(0-@{selected|Knowledge-History-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-History}) - floor((@{selected|Knowledge-History-ranks}-0.1-0)/(abs(@{selected|Knowledge-History-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-History}),0d0+10}kl1)]] **History=Local [[-1*floor((0-@{selected|Knowledge-Local-ranks}+0.1)/(abs(0-@{selected|Knowledge-Local-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-Local}) - floor((@{selected|Knowledge-Local-ranks}-0.1-0)/(abs(@{selected|Knowledge-Local-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-Local}),0d0+10}kl1)]] }} {{ [[-1*floor((0-@{selected|Knowledge-Nature-ranks}+0.1)/(abs(0-@{selected|Knowledge-Nature-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-Nature}) - floor((@{selected|Knowledge-Nature-ranks}-0.1-0)/(abs(@{selected|Knowledge-Nature-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-Nature}),0d0+10}kl1)]] **Nature=Nobility [[-1*floor((0-@{selected|Knowledge-Nobility-ranks}+0.1)/(abs(0-@{selected|Knowledge-Nobility-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-Nobility}) - floor((@{selected|Knowledge-Nobility-ranks}-0.1-0)/(abs(@{selected|Knowledge-Nobility-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-Nobility}),0d0+10}kl1)]] }} {{ [[-1*floor((0-@{selected|Knowledge-Planes-ranks}+0.1)/(abs(0-@{selected|Knowledge-Planes-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-Planes}) - floor((@{selected|Knowledge-Planes-ranks}-0.1-0)/(abs(@{selected|Knowledge-Planes-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-Planes}),0d0+10}kl1)]] **Planes=Religion [[-1*floor((0-@{selected|Knowledge-Religion-ranks}+0.1)/(abs(0-@{selected|Knowledge-Religion-ranks}+0.1)+0.001))*(1d20 + @{selected|Knowledge-Religion}) - floor((@{selected|Knowledge-Religion-ranks}-0.1-0)/(abs(@{selected|Knowledge-Religion-ranks}-0.1-0)+0.001))*(-1*floor((10-9+0.1)/(abs(10-9+0.1)+0.001))*10 - floor((9-0.1-10)/(abs(9-0.1-10)+0.001))*{(1d20 + @{selected|Knowledge-Religion}),0d0+10}kl1)]] }}

.

June 24 (6 years ago)

Edited June 24 (6 years ago)

Hey Vince!

 

Firstly thank you for your reply and help! I probably should have been more specific. We are using this character sheet https://wiki.roll20.net/Pathfinder_Official (since we are running War for the Crown).

I was however attempting to use the code you posted however to fit my purpose and made some headway of it all, but not a lot.

 

Here is the macro I’m working on thus far (Mimic is name of character with correlated sheet and ability):

&{template:default} {{name= ?Skills}}

{{?{Skills

|Acrobatics, Acrobatics Check @{|Mimic} Acrobatics Check}} {{[[1d20 + @{Mimic|ACROBATICS}  ]]

|Appraise

|Balance

|Bluff

|etc..

The beginning “menu” selection for which skill is working correctly. However,when I test the macro firstly it states No character was found for “.  If I enter anyways, it gives me the name of the skill I want to display (with brackets around it), then it shows several brackets and the inline roll  (it does correctly add the bonus from the referenced ability). Then it continues and list all the other skill selection options.

 

Could you explain:

Why the brackets are showing up around the name?

Why brackets are showing up before the inline roll?

And how to make only the selected skill name and its rolls appear, without all the other list options?

 

Or if you could perhaps demonstrate how one skill line should be written, I can adjust accordingly for the others.

 

Thanks for any additional insight and your time!

June 25 (6 years ago)
vÍnce
Pro
Sheet Author

Try something like

&{template:default} {{name=Mimic's Skills}} {{=?{Skills|Acrobatics, Acrobatics Check: [[ 1d20 + @{Mimic|acrobatics} ]] |Appraise, Appraise Check: [[ 1d20 + @{Mimic|appraise} ]] } }}

and just add which ever skill checks you wish.