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
This post has been closed. You can still view previous posts, but you can't post any new replies.

[PF] Pathfinder sheet thread 4: Life after Sam

1445559809
vÍnce
Pro
Sheet Author
Karim said: Julix said: At this point, are you a player or game master? I am a GM atm and the Game is already running. I didn't use the Character sheet for the Players beside linking tokens and loading up pictures. Right now I'm mainly using them for the monster and to keep track of the stats and the moment of encounter. Two experienced Pathfinder helping me with roling, calculating and stuff, but it would be awesome to not rely on participants. So far i could keep my questions spoilerfree, since we are playing  Module D0: Hollow's Last Hope (OGL) wich contains loads of information. Anyway I would like to make that the start of  a campaign and keep playing with what i made already. PS: This characktersheet is awesome and i realy love it. Coding and stuff is like reallife magic to me btw. Once you start using the sheet, it should become more familiar.  Knowing how certain attributes are derived is important.  This also comes with more experience. After doing things manually on a character sheet you will come to appreciate the "magic" behind roll20's sheets.  :-)  I would recommend making a couple characters for fun using the PF sheet just to familarize yourself with it.  Cheers
1445629122

Edited 1445894953
chris b.
Pro
Sheet Author
API Scripter
Here is an Aid Another macro I made. It is limited when doing it via only macros and not the API, but it is far better than everyone rolling and totaling it up. It uses one player as the base roller, and the rest roll to try to aid another. If over 10, then it will add 2 to the total. Note because of limitations of what we can do with macros, the same player has to always be the base roller. And you need a different macro for each skill. (the dropdown Morbidsoul created cannot be used to pass a skill name to a @{player|skill}  ) Also it's not compatible with more than 2 points per skill (so if you have handy helping Halflings you'll have to add manually ) For my players this is good enough, they only use aid another on Diplomacy and Knowledge rolls, and they also use whoever has the highest bonus as the base roller. Here is the macro for Diplomacy: &{template:pf_generic}{{character_name=baseroller}{{Diplomacy Aid Another=[[1d20+[[@{baseroller|Diplomacy}]]+{{[[1d20+[[@{aider1|Diplomacy}]]]],[[1d20+[[@{aider2|Diplomacy}]]]],[[1d20+[[@{aider3|Diplomacy}]]]]}>10*2}]]}} baseroller is the player name that is used as the basis. aider1, aider2, aider3 are the players trying to roll above 10 to add 2 to the baseroller's roll. The >10*2 takes the successes and multiplies them by 2, and the } after the two and before the first aider will strip out the text "successes" and let it be treated as a number, so you can add it to the base roller's roll. So for my players with their names it looks like this: &{template:pf_generic}{{character_name=Barnabas Collins}}{{Diplomacy Aid Another=[[1d20+[[@{Barnabas Collins|Diplomacy}]]+{{[[1d20+[[@{Jar Jar|Diplomacy}]]]],[[1d20+[[@{Kole Ash|Diplomacy}]]]],[[1d20+[[@{Kraven|Diplomacy}]]]],[[1d20+[[@{Nelson|Diplomacy}]]]],[[1d20+[[@{Thade|Diplomacy}]]]]}>10*2}]]}}  And the result looks like this (2 examples, the second example I am hovering over so you can see it displays all the rolls): In the hover text it shows Barnabas rolled a 12, add 9 for Barnabas's Diplomacy for 21, then add 4 more , 2 for the 2 rolls above 10, for a total of 25.  
1445845561

Edited 1445894647
vÍnce
Pro
Sheet Author
Update : Pathfinder Sheet v.10.26.15 Pull Request #1118 submitted. Lot's of additions in this one.  Some highlights: Config/Options tab added (toggle unchained features, header images, roll template info and samples) Buffs section added (14 togglable modifiers) optional header images added for roll templates macro text added for Pre-set Attack button bar (now you can edit the default button bar macros) Attack and Damage Effects section added (add attack/damage mod to all attacks. Included in total-attack and total-damage) added "Quick Stats" section to NPC tab (faster stat-block input) added additional armor and shield (use for swapping sets of armor and/or shields) made repeating field items collapsible to a single line and added a counter to help distinguish the number of items. changed show/hide to simple triangles added drop-down query for size selection for Fly and Stealth.  Defaults to "Medium 0". added ability selector for Initiative, AC, and Saves.  (helps when substituting abilities due to feats or class abilities) added a Title/Nickname field on the details tab (@{character_title} ) many misc. adjustments
1445973563

Edited 1445973598
Hi, Vince. I'm stumped on getting attack macros set as token actions, and wondered if you could offer some insight based on how the sheet works. I've considered 3 paths, but none work: 1. For a given weapon (let's say repeating_weapon_0 ), I can edit the macro, but when I call the pre-set attack button %{selected!repeating_weapon_0_Attack} , it doesn't reflect the changes I've made to the macro. (I see a solution along these lines as the best option, because it will be more future proof in new versions of the sheet.) 2. I also tried to copy the macro text from repeating_weapon_0 into an ability macro, of course adding " repeating_weapon_0_ " as a prefix to each attribute. However, I consistently get the error " No attribute was found for @{selected|repeating_weapon_0_total-attack}" and the same error for "total-damage. " 3. As with #2, if I try a global macro, I get the total-attack and total-damage errors, along with errors for iterative_attacks and macro_options . Have I found a bug or misunderstood the intended behavior? Any suggestions for how I can call the edited weapon macro or call total-attack , etc. for a given weapon? My apologies if this has already been addressed, but my searches aren't turning up solutions. Thanks for all the work you've done on the sheet; it is better and better to use.
1445987358

Edited 1446307600
vÍnce
Pro
Sheet Author
Hi Sean. &nbsp;Repeating items(in this case attacks), have some "quirks" that we have to deal with. &nbsp;Repeating item attributes do not exist until they have been created. &nbsp;You can't drag/drop their buttons to the macro quickbar or use their macro name from within another macro. &nbsp;You must enter info in every field and/or toggle selectors, etc. in order to populate an attribute. &nbsp;Most often when you see the "No attribute was found..." error, no attribute has been created yet. &nbsp;Double-check that you have fiddled with every field in the repeating item. &nbsp; Your error is probably from another quirk. &nbsp;You cannot use auto-calculated attributes that exist in the repeating item from outside the repeating item. &nbsp;It just doesn't exist outside the repeating item. ;-( &nbsp; You can work around this by re-creating the formula instead of using the auto-calculated attribute directly. You need to use the long name as well (ie "@{repeating_weapon_0_...") &nbsp;for each attribute needed in your macro. &nbsp;This can make for some VERY LONG macros, but it is possible. &nbsp;Sadly,&nbsp; total-attack ,&nbsp; total-damage ,&nbsp; iterative_attacks and macro_options are all auto-calculated attributes within the repeating attack. &nbsp;If you want to make your own token/ability macro that includes any of those, you will have to manually include the formula that each uses in your own macro. total-attack formula: ( [[ @{selected|repeating_weapon_X_proficiency} + (((@{selected|repeating_weapon_X_enhance} + [[ @{selected|repeating_weapon_X_masterwork} ]]) + abs(@{selected|repeating_weapon_X_enhance} - [[ @{selected|repeating_weapon_X_masterwork} ]])) / 2) + [[ @{selected|repeating_weapon_X_attack} ]] + [[ @{selected|repeating_weapon_X_attack-type} ]] + [[ @{selected|repeating_weapon_X_armor-proficiency} ]] ) total-damage formula: (@{selected|repeating_weapon_X_enhance} + [[ @{selected|repeating_weapon_X_damage} ]] + [[ @{selected|repeating_weapon_X_buff_DMG-total} ]] + [[ @{selected|repeating_weapon_X_damage-ability} ]]) For iterative attacks, it's best to just make separate macro that includes X amount of attacks. &nbsp;This has been demonstrated in this thread previously. link:&nbsp; <a href="https://app.roll20.net/forum/post/1915585/pf-pathf" rel="nofollow">https://app.roll20.net/forum/post/1915585/pf-pathf</a>... Who Dat on the&nbsp; PF Sheet beta campaign (EDIT: oops, fixed link.) has example macros for up to 4 iterative attacks that you can copy/paste/modify for your own use. macro_options just include which notes you want to include with your attack. &nbsp;You can manually add them to your macro as needed. &nbsp;Such as {{melee_notes=@{selected|melee-attack-notes}}} {{ranged_notes=@{selected|ranged-attack-notes}}} {{CMB_notes=@{selected|CMB-attack-notes}}} {{attack_notes=@{selected|attack-notes}}} and just remove any that you don't want included. For clarity, the Pre-set Attack button bar has hard coded attacks that do not include the dynamic features found only in repeating items, such as iterative attacks, per-attack note options, and macro text. &nbsp;The next update of the sheet will have macro text access for the button bar attacks that will allow people to edit the macro directly for each pre-set attack. Please add a comment and/or vote for this suggestion Official support for repeating sections in character sheets Clear as mud? &nbsp;:-)
When will the new version get implemented? If I understand correctly, it happens automatically when Roll20 downloads all the pull requests from github, and this happens on certain regularly scheduled days?
1446420046

Edited 1446420302
vÍnce
Pro
Sheet Author
Zan Thrax said: When will the new version get implemented? If I understand correctly, it happens automatically when Roll20 downloads all the pull requests from github, and this happens on certain regularly scheduled days? "Normally" a pull request is cycled once a week, sometimes sooner, sometimes later. &nbsp;There are quite a few PR's on github right now and it's been a while (16+ days) since the last PR's were cycled. &nbsp;I know the Dev's have been busy working on the next big Roll20 update and I believe they are hiring... &nbsp;We should be getting an update anytime and the community sheet will be updated automatically. &nbsp;
Zan Thrax said: When will the new version get implemented? If I understand correctly, it happens automatically when Roll20 downloads all the pull requests from github, and this happens on certain regularly scheduled days? You beat me to this... the most recent pull was 10 days ago, and there are 36 pending. My players are beginning to think this awesome sheet is a myth. :P
1446650831
vÍnce
Pro
Sheet Author
Update: PF Sheet Beta v11.04.15 added a {{subtitle=}} property for all roll templates. Spans both columns. &nbsp;Non-bolded, slightly smaller font-size than the header's text, left-aligned. &nbsp;You can also use this to insert images. ie [image name](URL) vertically aligned header and subtitle elements. &nbsp;This helps to align text and images(image_header). updated some of the roll template examples and text on the Config tab. I've added this to the current PR. &nbsp;Hopefully these get cycled before Christmas. &nbsp;;-P
1446654417

Edited 1446654459
chris b.
Pro
Sheet Author
API Scripter
How can we get a copy of the beta sheet and css if we want to work on some ideas? I see the production page in Git but am not sure how to find the latest pull request you sent in. (I am not super at Git, we use TFS at work :) &nbsp;which incidentally does have Git... so I guess that's not an excuse) -------------- The idea is: i have macros that roll certain skills for all players, like Perception, or saves. I use the general template, which works great {{player_name=[[roll]]}} and looks nice. However I wanted to also put the @{appropriate_notes} under each player's save/skill, so that I could see anything that might affect the roll. A nice way would be to have the name = value for the save, and the notes span both columns. So I was thinking of trying to create a "generic alternating" template. Where the style alternates, odd rows would be name,value pairs, left and right aligned, and even rows would span across both columns.
1446670384
vÍnce
Pro
Sheet Author
Sounds like a good idea Chris. &nbsp;You can grab a copy of the raw from last nights PR or make a fork of my repository <a href="https://github.com/vince-roll20/roll20-character-s" rel="nofollow">https://github.com/vince-roll20/roll20-character-s</a>... Cheers
1446733561

Edited 1446733626
chris, if you're okay with having the modifier notes at the end, you could do something like this: &{template:pf_generic} {{name=Appraise}} {{Andrios ([[ [[ @{Andrios|Appraise} ]] ]])= [[ 1d20+ [[ @{Andrios|Appraise} ]] ]] }} {{Aravenia ([[ [[ @{Aravenia Penrose|Appraise} ]] ]])= [[ 1d20+ [[ @{Aravenia Penrose|Appraise} ]] ]] }} {{Kror ([[ [[ @{Kror Brightblade|Appraise} ]] ]])= [[ 1d20+ [[ @{Kror Brightblade|Appraise} ]] ]] }} {{Langus ([[ [[ @{Langus Ambrix|Appraise} ]] ]])= [[ 1d20+ [[ @{Langus Ambrix|Appraise} ]] ]] }} {{Rinah ([[ [[ @{Rinah|Appraise} ]] ]])= [[ 1d20+ [[ @{Rinah|Appraise} ]] ]] }} &{template:pf_block} {{=**Kror** +2 for mundane items that contain precious metals or gems.}}
1446740772
chris b.
Pro
Sheet Author
API Scripter
That looks good too. One could argue it is cleaner to put all notes at the end as well. I will try it both ways and see.
1446746969
vÍnce
Pro
Sheet Author
When creating an alternating pattern of one row with 2-columns followed by a row that spans 2-columns, you have to create a unique property name for each row and you must include more than enough rows to satisfy the need for such a roll template. ;-( It would be so much easier if markdown allowed for text alignment.
1446750138

Edited 1446751210
chris b.
Pro
Sheet Author
API Scripter
I just figured that out :) (on a lunch break)&nbsp; I tried creating different templates for header, middle, footer, so that the &lt;table&gt; tag would not be closed until the footer, but roll20 doens't like that either. At least I figured out how to split up a roll template to two macros like this: (by putting the closing }} of a row at the start of a new macro) which .. I'm not sure what the use could be yet but it's something fun to try :) &{template:pf_block} {{character_name=Fort Saves}}{{Barnabas=Barnabas [[1d20+@{Barnabas Collins|Will}]]}}{{b=@{Barnabas Collins|Save-Notes} }}{{Thade= Thade[[1d20+@{Thade|Will}]]}}{{t=@{Thade|Save-Notes}}} Which I did to try to solve this problem:&nbsp; long macros blow up near the end and parser quits
1446763484

Edited 1446791690
vÍnce
Pro
Sheet Author
I can add new Keys(properties) to the pf_generic template; " righttext_X " and " lefttext_X ", where "X" increases incrementally as needed. &nbsp;"righttext_X" aligns the value assigned to the right while "lefttext_X" is aligned left. &nbsp;Sadly, a 2-column row doesn't work when the key is undefined, so that's why I went with a right-alignment on the odd rows. I would need to add a set amount of these keys to pf_generic... how many of the these alternating rows do you think would be sufficient? Would this work? &nbsp;example macro &{template:pf_generic} {{header_image=@{header_image-pf_generic}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=name of roll}} {{name_link=<a href="http://www.url.com" rel="nofollow">www.url.com</a>}} {{subtitle=subtitle}} {{check=[[1d20]]}} {{description=descriptive text will span both columns and wrap as needed.}} {{foo=foo}} {{righttext_1=Some roll = [[1d20]]}} {{lefttext_1=this is a long description for the row above}} {{righttext_2=Some roll = [[1d20]]}} {{lefttext_2=this is a long description for the row above}} EDIT: changed spantext_X to lefttext_X to keep the naming convention more logical. &nbsp;Updated the text above.
1446775595
chris b.
Pro
Sheet Author
API Scripter
Probably 10? I can't imagine anyone needing more.&nbsp;
1446791996

Edited 1446793751
vÍnce
Pro
Sheet Author
chris b. said: Probably 10? I can't imagine anyone needing more.&nbsp; Yep, 10 is what I was thinking. I'll add this to the&nbsp; PF beta sheet for you guys to play with. [ DONE ] So, pf_generic will have two new keys defined, {{righttext_X=}} and {{lefttext_X=}} &nbsp;X can be a number 1-10
1446918751
Magik
Sheet Author
Something seems to be wrong with the ability damage calculation on the Core tab of the sheet. Take a look at the Vefro Gubo character in the Pathfinder Beta game. He has a 14 Str with 1 damage and his bonus is still 2. His Con is 10 with 1 damage and his bonus is still 0. His Wis is 18 with 1 damage and his bonus is still 4. These bonuses should be 1 less, correct? Magik
Magik said: Something seems to be wrong with the ability damage calculation on the Core tab of the sheet. Take a look at the Vefro Gubo character in the Pathfinder Beta game. He has a 14 Str with 1 damage and his bonus is still 2. His Con is 10 with 1 damage and his bonus is still 0. His Wis is 18 with 1 damage and his bonus is still 4. These bonuses should be 1 less, correct? Magik No that's correct. A character needs to take 2 points of attribute damage/penalty to lower the actual attribute modifier by 1. As far as I understood Paizo wants to keep it that way so characters with even attribute values don't gain a disadvantage regarding the ones with uneven attribute values. I guess it comes with them wanting to keep point buy arrays as balanced as possible. /K
Magik said: Something seems to be wrong with the ability damage calculation on the Core tab of the sheet. Take a look at the Vefro Gubo character in the Pathfinder Beta game. He has a 14 Str with 1 damage and his bonus is still 2. His Con is 10 with 1 damage and his bonus is still 0. His Wis is 18 with 1 damage and his bonus is still 4. These bonuses should be 1 less, correct? Magik From the&nbsp; PRD :&nbsp;For every 2 points of damage you take to a single ability, apply a –1 penalty to skills and statistics listed with the relevant ability. If the amount of ability damage you have taken equals or exceeds your ability score, you immediately fall unconscious until the damage is less than your ability score. The only exception to this is your Constitution score. If the damage to your Constitution is equal to or greater than your Constitution score, you die.
The new sheet is online!!! My oh my...this thing is awesome! I can't wait to show it to my groups! I think my most favourite part is that small expand or collapse option for the individual entries that make especially the spell lists so much easier to read and maintain! Small thing I realized: In the Buff section the CON Bonus is also applied to INT (nothing you couldn't fix with a respective penalty to INT, but I thought I bring it up). Massive thanks to everyone that contributed to the new version. Such a great thing to have! Thank you! /K
1447089406

Edited 1447093751
vÍnce
Pro
Sheet Author
Karankwan said: Small thing I realized: In the Buff section the CON Bonus is also applied to INT (nothing you couldn't fix with a respective penalty to INT, but I thought I bring it up). Oops. &nbsp;Will fix asap. &nbsp;Thanks Karankwan. &nbsp;Much appreciated. [EDIT] &nbsp; Done: PR submitted&nbsp; Pathfinder - (tabbed) Neceros #1136 - fixed CON buff being added to INT - added 2 new key/properties for pf_generic. {{lefttext_X}} and {{righttext_X}} where X is a row number for 1thru10. Both properties add a new row sequentially that are left or right aligned appropriately. - added min-width to header_image to prevent them from being squished if the left header column had a large image and/or lot's of text. - updated character template image to reflect the latest version of the sheet - updated json instruction text
So I don't know if its been covered before or what but I'm kinda new and just noticed the link on the character sheet so I thought I would jump on and ask. &nbsp;So I'm playing a mystic therge in my game and as you can imagine I have more spells than I know what to do with some times. &nbsp;With that being said my spell list macro's or whatever you call them, is getting kinda long and growing kinda organiclly as I find spellbooks, money for spells, or level up. &nbsp;With that being said I was wondering if their was a way to reorginize the spells I have made so the cleric ones I've made are all grouped together and all the wizard spells I have are grouped together as well. \ Also BTW your sheet is awsome. &nbsp;And that buff thing looks pretty amazing.
I could not find any information on how to insert a link to a website address within the description text of a generic template or pf_block. &nbsp;Is there a way to do this so that you can just click on the link instead of copying and paste to a separate web browser tab? &nbsp;I know you can add a link within the Bio/Info tab of a character sheet but I am trying to get macros with embedded links to website addresses (in particular, the Paizo's Pathfinder Reference Document page). Thank you in advance for any clarification on this minor request.
1447101835

Edited 1447169380
chris b.
Pro
Sheet Author
API Scripter
Links In header: You can use {{name_link=http://mylinkhere}}&nbsp; &{template:pf_block}{{name=hello world}}{{name_link=<a href="http://www.google.com}}{{a=First" rel="nofollow">http://www.google.com}}{{a=First</a> Row}} In body:&nbsp;[displayname](http://yourlinkhere) &{template:pf_block}{{name=hello world}}{{name_link=<a href="http://www.google.com}}{{a=[Yahoo](http://www.yahoo.com)" rel="nofollow">http://www.google.com}}{{a=[Yahoo](http://www.yahoo.com)</a>}} You can do that anywhere, you can type this directly in the chat: [Bing Rulez Google Drools!](<a href="http://www.bing.com" rel="nofollow">http://www.bing.com</a>) You can also put rolls in the notes, so for precision damage I just put [[1d6]] in the notes, and the roll gets parsed and result appears at the bottom of the template in the description. &nbsp;
1447102918
vÍnce
Pro
Sheet Author
@Miro Currently there isn't a method of sorting spells. &nbsp;The only method is to view ALL spells by their level. ;-( &nbsp;This is mainly due to the amount of code involved with creating 3 separate spell class sections x10 levels of spells... However, the next roll20 update is going to include some limited javascript implementation, that should help with organizing the repeating items, like spells.&nbsp;
1447103607

Edited 1447103665
vÍnce
Pro
Sheet Author
said: I could not find any information on how to insert a link to a website address within the description text of a generic template or pf_block. &nbsp;Is there a way to do this so that you can just click on the link instead of copying and paste to a separate web browser tab? &nbsp;I know you can add a link within the Bio/Info tab of a character sheet but I am trying to get macros with embedded links to website addresses (in particular, the Paizo's Pathfinder Reference Document page). Thank you in advance for any clarification on this minor request. How do you NOT have a user name? &nbsp;lol What Chris said, and another example; &{template:pf_generic} {{header_image=@{selected|header_image-pf_generic}}} {{character_name=@{selected|character_name}}} {{character_id=@{selected|character_id}}} {{name=Name linked}} {{name_link=<a href="http://www.paizo.com/prd/" rel="nofollow">http://www.paizo.com/prd/</a>}} {{subtitle=Hyperlink Examples}} {{description=[Paizo's PRD](<a href="http://www.paizo.com/prd/" rel="nofollow">http://www.paizo.com/prd/</a>)}}
Is there something not working as intended with repeating_lvl-X-spells_X_spell_level, or am I doing something wrong? All my spells on a new character (as well as on pre-existing characters) show as level 0.
1447137113

Edited 1447139901
vÍnce
Pro
Sheet Author
Zan Thrax said: Is there something not working as intended with repeating_lvl-X-spells_X_spell_level, or am I doing something wrong? All my spells on a new character (as well as on pre-existing characters) show as level 0. You're not doing anything wrong. &nbsp;The value should reflect the actual level. &nbsp;I believe that "@{repeating_lvl-X-spells_X_spell_level}" was added so that we could see the spell's level in the roll template and that it isn't actually used for any other calculations. &nbsp;The value was set to "0" for all levels in the code, probably as a placeholder and it got overlooked... Apologies. &nbsp;Thanks for catching that Zan Thrax. &nbsp;I'll get that fixed. [EDIT]: done. &nbsp;fix added to latest PR.
1447169362

Edited 1447169380
Hello, I got highly motivated after the last update and got started on working on some macros. I'm not an advanced user of these and ran into a problem. So I tried to set up a dropdown query for a couple of rolls. Does anyone know why this does only show text in the chat instead of doing the actual roll? ?{%|%}{Selected|?{Attribute|STR,STR| DEX,DEX}-Check} I was adding the "?{%|%}" Part since the %-Symbol seemed to be triggered before the query got answered. Now both queries get answered at the same time and I get the right command shown as text in the chat, but it doesn't trigger the roll itself. I can copy paste the text into the chat window and press enter to trigger the roll that I'm interested in. I'm a bit puzzled here and thankful for any help. PS: I know there would be a work around with for the chosen example. In fact I'm more interested to set up something that lets me answer a query like %{repeating_lvl-?-spells_?_Cast} to get something like a "Spellbook Macro". The intrinsical problem though remains, that's why I chose the simpler example above. /K
1447170860

Edited 1447171864
chris b.
Pro
Sheet Author
API Scripter
Not sure what you are trying to do, but generally inside the Roll Query (dropdown) you have to escape all &nbsp;percents, pipes, brackets, commas &nbsp;{ } , &nbsp;that are not part of the dropdown itself using &#somenumber syntax. That way you can nest macros inside of rollqueries. <a href="https://wiki.roll20.net/Macros#Advanced_Usage_2" rel="nofollow">https://wiki.roll20.net/Macros#Advanced_Usage_2</a> Scroll down to the Cure Spells Query, or All Skills Query, for examples: <a href="https://wiki.roll20.net/Pathfinder_Character_Sheet" rel="nofollow">https://wiki.roll20.net/Pathfinder_Character_Sheet</a> codes:&nbsp; <a href="http://www.ascii.cl/htmlcodes.htm" rel="nofollow">http://www.ascii.cl/htmlcodes.htm</a> So ?{spell|spell1,%{selected|spell1}|spell2,%{selected|spell2}} becomes (I had to put spaces after the # so they show up as codes) ?{spell|spell1,&# 37;&# 123;selected&# 124;spell1&# 125;|spell2,&# 37;&# 123;selected&# 124;spell2&# 125;}
1447172684

Edited 1447173165
vÍnce
Pro
Sheet Author
AFAIK, you can't call other macros "%{...}" from inside a query. &nbsp;;-( Could be wrong. &nbsp; I would inquire with&nbsp; Silvyre , he's an expert with the queries, among other things.
Thank you kindly for the responses, it was quite helpful, and I appreciate you folks taking the time to reply so soon. As for not having an username, I simply removed it for aesthetic purposes when running a game. &nbsp;I did not think that it would actually apply to the other areas of this website beyond the campaign games I run so I am quite surprised at this particular result. Again, much obliged for your help. Cheers.
1447180921

Edited 1447181012
chris b.
Pro
Sheet Author
API Scripter
oh yeah maybe, probably i was doing @ not % in my macros so far. I have not tried it with % You can use # macros, but have to put a space after the name, I just saw that today here&nbsp; <a href="https://wiki.roll20.net/Macros#Nesting_in_a_Roll_Q" rel="nofollow">https://wiki.roll20.net/Macros#Nesting_in_a_Roll_Q</a>...
Yeah I figured that putting % in a query didn't work, but what about putting queries in %? I tried to create something like this: %{selected|repeating_lvl-?{Query for number}-spells_?{Query for 2nd number}_Cast} By doing that, the system was trying to resolve % before the queries, so I added ?{%|%} to get: ?{%|%}{selected|repeating_lvl-?{Query for number}-spells_?{Query for 2nd number}_Cast} By doing that, I get a perfectly fine command that won't trigger though, but show up in the chat as text-only instead. If I'm not doing anything obviously wrong I won't flood this thread any further and try to find a fix somewhere else :-D /K
1447188322

Edited 1447188422
chris b.
Pro
Sheet Author
API Scripter
You could try using & #63; for the ? in your first example (remove the space between & and #) but i haven't gotten anything like that to work, which is why most scripts are written the opposite way as in my example above.&nbsp; But yes it's more of a generic macro question and more people might help in General.
1447197876

Edited 1447254937
chris b.
Pro
Sheet Author
API Scripter
For macros in rolltemplates, I just got this working, adding a link to a macro like this , you have to encode the %, { } and probably | symbol, (I didn't try it yet without encoding the pipe) &{template:pf_block}{{name=Nelson}}{{subtitle=Skills}}{{Perception-Check2=[Perception](!& #37;& #123;Nelson& #124;Perception-Check2& #125;)}} But PerceptionCheck2 is an ability macro that looks like this (note no encoding): ! %{Nelson|Perception-Check} I could not call a % macro directly as a link from within a rolltemplate (removing the 2 above after Check), well I could, but instead of a link to the macro, it would just execute the macro. The ! in front stops that from happening. The left side of the equals, "Perception-Check2", is merely to guarantee uniqueness. I am not sure why the macros you call from a link must have the ! and then a return character, but they do. They also require the name to be in the macro, it won't work without the character name even though it is an ability macro. That is why the character name is hardcoded above. (though I found you can use "selected" in the link like thiss): &{template:pf_block}{{name=Generic Character}}{{subtitle=Skills}}{{Perception-Check2=[Perception](!& #37;& #123;selected& #124;Perception-Check2& #125;)}} I was working on making cgen output in pathfinder rolltemplates instead of the html it does by default, so that the macros could be edited,and hopefully be smaller. cgen makes menus in the chat area, which some people hate, but it helps to not have to go find things. I don't know if anyone is interested in this, or combining this technique with the filler for the NPC page Vince worked on. (I guess higher priority is to start testing once the new build goes live on dev. who wants to test though? :) ). So the above 2 macros combined look like this: (I don't know how to get rid of the pink background yet, and the grey with white lines is because it is putting empty rows there ) The first rolltemplate is the first macro above, that builds a pf_block of links to the skills. The next 3 rolltemplates displayed are when I clicked the "Fly2", "perception2" etc links.
Good Day, Not sure if this is the right place to ask this but one of players is having a strange issue happening on the character sheet. When ever he clicks on one of tabs from core to npc - it will return him back to the attack tab. So he basically has to click on the tab twice to get it to stay on the one he wants to display. Same behavior takes place when others are given access to it.
1447221479

Edited 1447221835
vÍnce
Pro
Sheet Author
Evan said: Good Day, Not sure if this is the right place to ask this but one of players is having a strange issue happening on the character sheet. When ever he clicks on one of tabs from core to npc - it will return him back to the attack tab. So he basically has to click on the tab twice to get it to stay on the one he wants to display. Same behavior takes place when others are given access to it. Hi Evan. &nbsp;There's a known issue experienced in other tabbed based sheets as well (see&nbsp; [5E] Character sheet tab wonkiness. ) where a "tab" attribute gets created for some reason and causes issues. &nbsp;Have them look in the character journal's Attributes and Abilities tab and delete any "tab" attribute listed. &nbsp;Should fix the issue.
Vince said: Evan said: Good Day, Not sure if this is the right place to ask this but one of players is having a strange issue happening on the character sheet. When ever he clicks on one of tabs from core to npc - it will return him back to the attack tab. So he basically has to click on the tab twice to get it to stay on the one he wants to display. Same behavior takes place when others are given access to it. Hi Evan. &nbsp;There's a known issue experienced in other tabbed based sheets as well where a "tab" attribute gets created for some reason and causes issues. &nbsp;Have them look in the character journal's Attributes and Abilities tab and delete any "tab" attribute listed. &nbsp;Should fix the issue. Thanks Vince, that fixed it :)
1447252894
Magik
Sheet Author
I've been playing with the Header Images on attack rolls and it looks like ranged attacks isn't using the correct image. It is using the Melee image instead of Ranged. The CMB image works fine. Thank you, Magik
1447254596
vÍnce
Pro
Sheet Author
Thanks Magik. &nbsp;I'll look into that. &nbsp;On phone at work currently... &nbsp;Things to check. &nbsp;Make sure Config settings are toggled to Default or Custom for pf_attack-ranged. &nbsp;Options/noted on the attack itself are set to ranged. &nbsp;Finally, check that the macro is using {{header_image=header_image-pf_attack-ranged}}
1447256146
Magik
Sheet Author
1.&nbsp;Make sure Config settings are toggled to Default or Custom for pf_attack-ranged. Confirmed. I toggled back and forth a few times too. 2.&nbsp;Options/noted on the attack itself are set to ranged. Confirmed. The ATK Type drop-down entry is set to Ranged. I even created a new attack entry from scratch and it does the same thing. 3.&nbsp;Finally, check that the macro is using {{header_image=header_image-pf_attack-ranged}} It doesn't and I haven't modified any. The macro has&nbsp;{{type=@{type}}}, which is what I image passes the ATK Type drop-down value to the template. Note that if I hit the macro %{selected|Ranged-Attack-Roll} at the top of the Attacks sheet, it shows the correct image, but not for the repeated attack entries below. Magik
1447259144

Edited 1447259306
vÍnce
Pro
Sheet Author
Magik said: 1.&nbsp;Make sure Config settings are toggled to Default or Custom for pf_attack-ranged. Confirmed. I toggled back and forth a few times too. 2.&nbsp;Options/noted on the attack itself are set to ranged. Confirmed. The ATK Type drop-down entry is set to Ranged. I even created a new attack entry from scratch and it does the same thing. 3.&nbsp;Finally, check that the macro is using {{header_image=header_image-pf_attack-ranged}} It doesn't and I haven't modified any. The macro has&nbsp;{{type=@{type}}}, which is what I image passes the ATK Type drop-down value to the template. Note that if I hit the macro %{selected|Ranged-Attack-Roll} at the top of the Attacks sheet, it shows the correct image, but not for the repeated attack entries below. Magik The pre-set attacks include an updated macro, but an update to the sheet does not touch existing macro text attributes. &nbsp;If this is an existing macro, it will not have the newer roll template keys like {{header_image}},&nbsp;{{subtitle}}, {{lefttext}} and {{righttext}}. &nbsp;You can add them to your existing macros (token/ability or using the macro text fields on-sheet). &nbsp; You can look on the Config Tab and/or the wiki ( Pathfinder Character Sheet ) as a guide if needed. Also, you could create a new attack to see what the new macro text includes and use that to compare with your existing macros. Post back if that doesn't help. &nbsp;Cheers [edit] I should probably add this bit of info to the wiki.
1447270708
Magik
Sheet Author
I don't think this has been resolved. Maybe try it yourself when you get home. I didn't edit any macros, thus they should receive the updates of the character sheet. I checked the PF Beta game's macro and they match mine exactly. Regardless of new or old attack entries; the macro is the same irregardness of the ATK Type set. I'd rather not have to edit each ranged macro to add the header image, when I know that you meant to have the ATK Type value handle this. I checked the URL of the ranged icon and it is the little bow & arrow, but it isn't showing up in the ranged attacks that I have configured. Thanks for your time and support on this, Magik
1447271921
Magik
Sheet Author
A colleague just found that if you check the Ranged Notes under Options for the attack then the correct image is displayed. That makes it seem like the template is checking for the wrong value that is passed to it for displaying the header image. I hope that helps. Magik
Did you see the blog post, Vince? ;)
I love the new buff feature - makes it so much easier for Barbarian rage. I've found a little issue when i miss typed a value. (inserted 01 instead of 1) Now it looks like this and i have no idea how to erase or to reset the value.
1447287611
vÍnce
Pro
Sheet Author
Magik said: A colleague just found that if you check the Ranged Notes under Options for the attack then the correct image is displayed. That makes it seem like the template is checking for the wrong value that is passed to it for displaying the header image. I hope that helps. Magik Actually, I would love for the header_image to be toggled off of @{type}, but since it passes a single value that's auto-calculated for the calc of total-attack, I had to get "creative" and added the Options section. &nbsp;Choosing an appropriate attack note ALSO changes the header_image. &nbsp;I know that it's not the best solution, but it was the only way I could get it to work without inserting a dedicated "choose your image_header" selector. (which might not be a bad idea...) &nbsp;Anyhow, the notes selected AND their tag along header_image get inserted into @{macro_options} where the roll template looks for the notes and the header_image. &nbsp;Notes are output with the roll while the header_image is shown, or not, depending on the setting found on the Config tab. &nbsp; One last issue, since repeating items behave differently than other attributes, the Options found below the Pre-set attacks only affect the Pre-set attacks and they affect ALL the buttons. &nbsp;Meaning if you set the Options for melee notes, all attacks on the Pre-set buttons will show the melee image. &nbsp;I know this is not the best solution either, but I hate adding features exclusively for repeating items. (iterative attacks for example). &nbsp;Hopefully some of this will change with the new updates that allow some limited usage of javascript!