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 questions on Macros and Attributes [Pathfinder game]

Hi! I started DMing my first campaign and I want to speed the game up somehow. I tried setting up macros, but a ton of things aren't work for me or my characters. All of them have already filled in their character sheets to full, and they look fine - I know how to play the game or how to make a character sheet from scratch, and everything is copacetic. However, when I wanted to create macros for simple things like "selected token makes an attack roll", I ran into a brick wall. Apparently, the @thing to bring up an attribute only works for the attributes listed on the character, which makes sense. However, these attributes seem to automatically update with the character and the ones I create do not. Is that kind of upkeep mandatory? Why can't I create attributes that auto-update with the character sheet info? Another thing that bothers me is that when I create characters they get all these "junk" attributes, like @Will-trait and stuff like that, but they don't get a simple @Will attribute. Is there any way to get newly made character sheets to only get the useful attributes or a preset number of attributes? Also, I've seen people make Initiative checks that auto-add themselves to the turn order... how do you do that magic? Thanks!
1420440813
Gen Kitty
Forum Champion
This... is why I don't touch character sheets at all if I can at all avoid it. The system will look to the 'Character Sheet' tab before it looks to your 'Attributes & Abilities' tab for values. The builtin character sheet will fill your attributes&abilities page with a lot of... less useful things. Only stuff made via the built-in character sheet will auto-update, because those are the only fields the sheet knows about and you can't tell it to look at these other, user-created, fields. And sometimes it will utterly hijack your ability-macros in the weirdest of ways that I can't diagnose. As for the initiative thing: use &{tracker} in a macro to have that dice roll added to the tracker. I like the following macro: @{selected|token_name}'s Initiative Check: [[1d20 +@{Init} +?{TotalMods?|0}+( (@{Init} +?{TotalMods?}) / 10)&{tracker} ]] It rolls a d20, adds whatever is in the Init attribute for the selected token, and then adds the modifer as a decimal to the initiative for tiebreaking purposes, and then adds the final result to the tracker.
1420477159
Lithl
Pro
Sheet Author
API Scripter
GenKitty said: The system will look to the 'Character Sheet' tab before it looks to your 'Attributes & Abilities' tab for values. The builtin character sheet will fill your attributes&abilities page with a lot of... less useful things. Only stuff made via the built-in character sheet will auto-update, because those are the only fields the sheet knows about and you can't tell it to look at these other, user-created, fields. And sometimes it will utterly hijack your ability-macros in the weirdest of ways that I can't diagnose. I don't know what you're talking about, Kitty. All attributes on the character sheet are backed by attributes on the Attributes & Abilities page. The character sheet is simply something for presenting the data that was already functioning as part of the system. "Less useful things" is being disingenuous to the character sheet authors, who generally spend a lot of time making the sheet work and have everything you need for the character. Issues between attributes on a character sheet and attributes created manually are a matter of naming conflicts, especially if you create an attribute with the same name as an autocalc field and give it a different value. Also, I feel like it's kind of rude to imply that character sheets aren't worth using when helping someone trying to learn the system, especially considering the effort the community puts into the various sheets. Secret Wizard said: Apparently, the @thing to bring up an attribute only works for the attributes listed on the character, which makes sense. However, these attributes seem to automatically update with the character and the ones I create do not. Is that kind of upkeep mandatory? Why can't I create attributes that auto-update with the character sheet info? I'm not entirely sure what you mean by "auto-update", nor what you're doing where changing a character sheet value works for attributes in a macro, but changing a manually-created attribute does not. Character sheets have "autocalc fields", which are attributes that reference other attributes, and the display on the character sheet tab is automatically updated by applying the formula. Beyond that, nothing updates automatically, though (and even that isn't technically automatic, as the autocalc field isn't actually changing, just the attributes that it uses for the calculation). If you change the value of the attribute, no matter where it comes from, the value is updated when you use it in a macro. Secret Wizard said: Another thing that bothers me is that when I create characters they get all these "junk" attributes, like @Will-trait and stuff like that, but they don't get a simple @Will attribute. Is there any way to get newly made character sheets to only get the useful attributes or a preset number of attributes? @{will} exists on the Pathfinder sheet, however it is an autocalc field using @{willbase}, @{willabilitymod}, @{willmagicmod}, @{willmiscmod}, and @{willtempmod}. If you tried to define your own @{will}, it could cause problems since there already exists an autocalc @{will}. However, the pathfinder sheet does not have @{willpower} or @{will-save} or something, so creating one would not create conflicts. I will grant that a character sheet will create many more attributes than you would create yourself if you were making a character without a character sheet present (sheet authors generally creature attributes to enable functionality like tabs on the sheet, and copy the game's paper sheet presentation in order to be familiar to players, including breakdown of calculated characteristics which means more backing attributes), and this can make it difficult yo find an attribute you need on the third tab. At this time, there is no way to prevent that. There are plans in the future to have alternate configurations available, instead of every character in the campaign using the same thing. Once implemented, that might let you for example create an NPC sheet with few or no attributes, while creating a fully functional PC sheet for your players. That's in the future, though.
I have a bunch of Pathfinder-specific macro examples and explanations over at <a href="https://wiki.roll20.net/Macros_-_Pathfinder_Examples" rel="nofollow">https://wiki.roll20.net/Macros_-_Pathfinder_Examples</a>
1420487854
Gen Kitty
Forum Champion
I'd like to preface this by saying I don't have anything against the built-in character sheets per se. They're a wonderful tool, for those for whom they work. If you never ever customize your macros, if you never go to the Attributes&Abilities tab, all the stuff I find frustrating about character sheets melt away and everything is great. Just as there's the raging debate between tags & folders, some people (like myself) just prefer to not use the character sheets if they can avoid it. Brian said: I don't know what you're talking about, Kitty. All attributes on the character sheet are backed by attributes on the Attributes & Abilities page. Actually, not all the attributes on the character sheet make their way to the Attributes & Abilities tab. An example from a game I'm in: the 5e character sheet has a value PB, referenced in places such as 'intelligence_save_prof' and 'investigation_prof_exp' -- instead of updating those fields directly with a value, it merely has @{PB} for a value -- all well and good, but PB isn't actually defined anywhere on the Attributes&Abilities tab, which can be potentially frustrating to someone, such as the OP or me, who would like to be able to do things beyond the character sheet. "Less useful things" is being disingenuous to the character sheet authors, who generally spend a lot of time making the sheet work and have everything you need for the character. Less useful things was a bit tongue in cheek, and refers to things such as what tab the character sheet is currently viewing. Knowing that fields /can/ be hidden, it' is sometimes bemusing to see what fields get put on A&A and what fields do not Issues between attributes on a character sheet and attributes created manually are a matter of naming conflicts, especially if you create an attribute with the same name as an autocalc field and give it a different value. Or the same name as a hidden field and then try to use it in a macro. Like I said, it can be frustrating. Also, I feel like it's kind of rude to imply that character sheets aren't worth using when helping someone trying to learn the system, especially considering the effort the community puts into the various sheets. I never said they weren't worth using. What I said is that the listed issues were why *I* don't use them. On reflection, I can see why one would read in the implication. I'm not sure what to say here, we are a varied group of players and GMs and I don't think it's a sin to not like every feature Roll20 offers. I'm sorry I used less than complimentary language in expressing myself, and I apologize to Brian and anyone else who felt slighted by my remarks.
1420492271
Lithl
Pro
Sheet Author
API Scripter
GenKitty said: Actually, not all the attributes on the character sheet make their way to the Attributes & Abilities tab. An example from a game I'm in: the 5e character sheet has a value PB, referenced in places such as 'intelligence_save_prof' and 'investigation_prof_exp' -- instead of updating those fields directly with a value, it merely has @{PB} for a value -- all well and good, but PB isn't actually defined anywhere on the Attributes&Abilities tab, which can be potentially frustrating to someone, such as the OP or me, who would like to be able to do things beyond the character sheet. PB on the 5e sheet is an autocalc value, which as I said would cause problems if you created something with a name conflict.
1420522326
vÍnce
Pro
Sheet Author
I think if you're using character sheets (and you should IMO) you need to create macros that let the sheet do all the heavy-lifting. I'm sure not all sheets are created equal... That said, the PF sheet is a beast. There is a ton of auto-calculated attributes done internally and it can handle just about any requirement that you might have in a game. Of course, if you live by the sheet, you die by the sheet. You should know the math(formula) behind what the sheet is doing. This knowledge is invaluable when creating custom macros based off a sheets attributes. I suggest either using the sheets button rolls either directly or dragging to the macro bar (wish they could be renamed...) or create your own macros using the info that can already be found within the "built-in" sheet roll. Want to learn the attributes and math used when using a sheet's macros? Hit a sheet roll button, then go to the chat(place cursor in the input field, delete any text if there is any) and hit the UP arrow key. This will cycle the previous commands sent to chat. This is useful to find out what the sheet is actually doing. You can also copy/paste that info into your own token macro and customize it. There's a 1001 ways to "skin" a macro. Have fun.
1420526703
Lithl
Pro
Sheet Author
API Scripter
Vince said: I suggest either using the sheets button rolls either directly or dragging to the macro bar (wish they could be renamed...) You could create your own ability or macro and have the contents just be the roll button ability. You can easily find the name of the roll button by dragging it to the macro bar, and then you can call it just like any ability. For example, if the roll button is called "initiative", you can call it with %{initiative} or %{Character Name|initiative} as appropriate.
1420528050
vÍnce
Pro
Sheet Author
Very good point Brian. 1002 ways to "skin" a macro... Thanks
Mark G. said: I have a bunch of Pathfinder-specific macro examples and explanations over at <a href="https://wiki.roll20.net/Macros_-_Pathfinder_Examples" rel="nofollow">https://wiki.roll20.net/Macros_-_Pathfinder_Examples</a> I see all these macros but they simply don't work for me. The initiative macro doesn't work either, it doesn't find the selected character's Init.
1420667939

Edited 1420681912
vÍnce
Pro
Sheet Author
Secret Wizard said: Mark G. said: I have a bunch of Pathfinder-specific macro examples and explanations over at <a href="https://wiki.roll20.net/Macros_-_Pathfinder_Examples" rel="nofollow">https://wiki.roll20.net/Macros_-_Pathfinder_Examples</a> I see all these macros but they simply don't work for me. The initiative macro doesn't work either, it doesn't find the selected character's Init. Try this for Initiative (note: I added "selected" so that the macro could find the init attribute associated with that token) @{selected|token_name}'s Initiative Check: [[1d20 +@{selected|init} +?{TotalMods?|0}+( (@{selected|init} +?{TotalMods?})/10)&{tracker} ]] If you are having issues with other macros, you may need to include " selected " in front of the attribute you are calling. While Attribute-based macros don't require the use of "selected", I normally include it. Also, make sure that an attribute has actually been created. Many sheet-based attributes are not created until you place some information in the field. Can you post the exact macro you are using and when you say "simply don't work for me." What exactly is happening? Are you getting an error in chat?
All the macro examples on that wiki are copy/pasted from live characters in campaigns so I know they (in general) work, ok. If you're having problems with anyone, go ahead and paste in the specific macro you're setting up and describe the circumstances around how you're using it. ie: Is it a Macro or an Ability on the character sheet? Do you have your token selected when using the macro? Do you have the attribute values saved in your sheet? Any conflicts from the built-in sheets? Glad to help where I can... we just need more info.
I'm using the macros posted here. Does anyone have the time/patience to join me in my game to perhaps find out what's not working?
1420697948
vÍnce
Pro
Sheet Author
PM me the link SW and I'll see if I can help.
1420704625
vÍnce
Pro
Sheet Author
Just to update anyone following the thread. The main issue with the OP macros not working were two-fold; 1. The macros in question did not have the "selected" keyword. e.g.,( @{ selected |attribute} ) and so they were giving an error in chat. "No character was found for 'init' " They still functioned, but the error was annoying. Adding selected solved the error. 2. The macros were calling for attributes that did not exist. Each character sheet and/or GM uses uniquely named attributes. e.g., A macro that might use @{selected|STR} in one game may actually be @{selected|STR-mod} for another. If you hover over a field on the PF sheet, it will show you the name of the attribute. Very handy. You have to know which attribute names your sheet uses in order to make someone else's, or your own, macros function correctly. Hope this helps. G'Night.