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

Pathfinder skill macro

I would like to change the color of the skill name to another color if it is a trained skill on the following macro. {{character_name=@{selected|character_name}}} &{template:pf_generic} {{character_name=@{selected|character_name}}} {{name=Skills}} {{Perception +@{selected|Perception}= [[1d20+@{selected|Perception}]]}}  {{Appraise +@{selected|Appraise}= [[1d20+@{selected|Appraise}]]}} I would like to change the color of the skill name to another color if it is a trained skill. Aany Suggestions?
or anything that might let you know it is a trained skill :)
You can't really control the colors in text chat outside of whata given character sheet template provides options for, and then generally it's just the header background color. You can try using MarkDown formatting to emphasize it in a different way though... *abcde*   makes text Italics **abcde** makes text bold ***abcde*** makes text bold italic ``code`` makes text a code snippet which does odd things to formatting
I am pretty new to roll20 and macros, can you give an example of how the MarkDown would be used in the macro? and how I would be able to tell if it is a trained skill on the pathfinder 0.37 Char sheet.
1457320901

Edited 1457321048
vÍnce
Pro
Sheet Author
The RT column for Skills shows skills require training.  They are checked by default for all skills that require training according to  RAW .   If you use the rolls from the sheet, you can edit the macro-text (last column) and add something like {{Trained}} to the end of the macro. for example @{PC-whisper} &{template:pf_generic} {{header_image=@{header_image-pf_generic}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{subtitle}} {{name=Disable-Device}} {{Check=[[ 1d20 + [[ @{Disable-Device} ]] ]]}} {{Trained}}
1457321329

Edited 1457322559
sorry I don't understand :( AND I MADE A MISTAKE I want to mark it, if the skill is a class skill, I didn't mean trained. sorry my bad  the macro I am trying to create has all the skills listed, my sample above I pasted 2 so as to not make it really long. In my sample macro: {{character_name=@{selected|character_name}}} &{template:pf_generic} {{character_name=@{selected|character_name}}} {{name=Skills}} {{Perception +@{selected|Perception}= [[1d20+@{selected|Perception}]]}} how would I make perception check to see if it is a class skill on the selected tokens character sheet and make it italic if it is.
1457322697
vÍnce
Pro
Sheet Author
Sean K. said: sorry I don't understand :( the macro I am trying to create has all the skills listed, my sample above I pasted 2 so as to not make it really long. In my sample macro: {{character_name=@{selected|character_name}}} &{template:pf_generic} {{character_name=@{selected|character_name}}} {{name=Skills}} {{Perception +@{selected|Perception}= [[1d20+@{selected|Perception}]]}} how would I make perception check to see if it is trained on the selected tokens character sheet and make it italic if it is trained I was just showing an alternative.  I didn't realize you were using an "All Skills" macro.  ;-) You can edit your macro to include additional text, such as adding "RT" for requires training or "Trained" or ... whatever you like. for example:  (I know perception does not require training, but this should give you the idea of how you can modify your macro) &{template:pf_generic} {{character_name=@{selected|character_name}}} {{name=Skills}} {{Perception +@{selected|Perception} RT = [[1d20+@{selected|Perception}]]}}
Vince- Thank you for ALL you help, did you see my edited post I meant to say class not trained. I am looking to show if a skill is a class skill
1457324155
vÍnce
Pro
Sheet Author
Sean K. said: Vince- Thank you for ALL you help, did you see my edited post I meant to say class not trained. I am looking to show if a skill is a class skill NP Sean.  On the sheet the CS column denotes Class Skills.  You can still edit your macro the same way denoting Class Skills. Maybe just add "CS" like the example I gave for RT.  This can be a little bit of a pain since your macro will need to be edited every time you add a new Skill... That said, I'm not sure of the benefit for signifying which are Class Skills.  As long as you check the CS box for a given skill on the sheet, your +3 will be included in your total modifier.
1457324688

Edited 1457325205
You can add Attributes like @{selected|Perception-cs} to your macro. If the CS box is checked, that Attribute call will parse to its Current value 3. If not, it will parse to 0. e.g. &{template:pf_generic} {{character_name=@{selected|character_name}}} {{name=Skills}} {{Perception +@{selected|Perception}=[[ 1d20 + @{selected|Perception} ]] ***(@{selected|Perception-cs})*** }}
I was hoping to have it check automatically something like if CS is checked on the character sheet for the elected character, then make italic. if CS-Perception = 3 then italicize or add "CS" after the skill name.
1457325168

Edited 1457325305
Sean K. said: I was hoping to have it check automatically something like if CS is checked on the character sheet for the elected character, then make italic. if CS-Perception = 3 then italicize or add "CS" after the skill name. That's unfortunately not possible using a Roll Template, unless the sheet authors add in Attributes like @{Perception-cs-text} or change the values of the Attributes like @{selected|Perception-cs} from "3" to "[CS] (+3). The best you'll be able to do until then is to use the macro I supplied.
Thank you!!! I have one other question. in a macro can you do something like: if (@{selected|Perception-cs}) = (3), then type "CS-"
Unfortunately, it's not possible to conditionally display text like that without the assistance of an API Script (e.g. PowerCards ). Access to the API is available in games in which the Creator has an active Pro subscription.
Out of curiosity;  what is your underling purpose for marking a skill a Class Skin when rolling it?  Since you're using the Pathfinder Character Sheet, it's already bundled into your roll if you have the "CS" column checked next to the skill. There may be another way to approach what you want to do if we know what your reasoning is for marking Class Skills when rolling.
it was a way to know if a player has put ranks into a skill or it is just a stat bonus check
It wouldn't matter, mechanically, though.  PF sheets already adds your stat blocks to those rolls. If you want to include a note in the roll to show how many ranks are in the skill just for display purposes, you can add a little {{Ranks: @{Diplomacy-ranks}} at the end of each line of code to the far right of each skill on your sheet. (changing the @{Diplomacy-ranks} to the proper name of the skill, of course) The variable used to store RANKS for any given skill can be found by hovering your mouse over the RANKS entry for that skill.
thanks