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

Different Macros in the Token Actions for different tokens.

I've played a lot of Roll20, but have only done some basic macros for my characters. I'm new to GMing Roll20. i've done a fair amount of GMing with MapTool, and am familiar with MapTool's macro system. Is it possible to customize the subset of Macros that show up for the token actions for different tokens? What I would like to be able to do is have each token have a handful of macros that show up in the token actions just for that token. I'll then be able to write (say) an attack macro for each token that customizes the descriptive text, the attack roll, and the possible damage roll for the creature that that token represents. At the moment, it looks like I just have one list of macros, and the ones that show up in the token actions show up in all tokens' token actions.
1404282433

Edited 1404282501
Lithl
Pro
Sheet Author
API Scripter
There are Macros, and there are Abilities. Think of Macros as being player-level while Abilities are character-level. If you mark a Macro as a token action, it will be available on every single token you select. If you mark an Ability as a token action, it will be available on any tokens which represent that character. In order to have different monsters representing the same character, there are several things you can do, possibly most important is do not link one of the token's bars to the character's HP value, or else all of the monsters will have the same HP all the time! =) In your Macros/Abilities you can also use @{selected|bar_1} (and bar 2 and 3) to reference values unique to that token if you need it. You may also be able to make universal Macros, depending on your system. For example, if every monster has a simple attack like 1d20+1/2 level+strength+conditional modifiers, you could have a Macro along the lines of: /emas "@{selected|token_name}" attacks! [[1d20 + floor(@{selected|level} / 2) + @{selected|strength-mod} + ?{Modifiers|0}]] vs. AC
Ah, cool, OK. If I understand correctly, I need to create a character sheet to get access to abilities, yes? I was digging a bit, and thinking that perhaps the API is what I want to use.... I'll think about that a bit more. (I would love the power of Javascript to do things like code in conditionals for critical hits, etc., but I'll make sure I know how to hook up basic macros first.)
On this page on the wiki , it says under " Interaction with Macros and Abilities " that you can't reference auto-calced values from macros and abilities. Is this out of date? I foolishly tried it before knowing I shouldn't... and it worked. (Specifically, I am using the Pathfinder NPC sheet, and tried a macro that referenced the "Fort", "Ref', and "Will" values on the sheet, which are auto-calced.)