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

seeking token specific macros ability

is this API script already written?  I did not find it in my searching.    What I am trying to do is this: select a monster token, this will cause the buttons for each specific attack and spell option to appear for only this token's attributes. It currently only allows any token selected to show all available macros for all tokens,and I have lots of different beasties with different stats per beastie, what I am currently doing is naming the macro with the name of the beastie, then the action in the name so i know what does what.
1461166513
The Aaron
Roll20 Production Team
API Scripter
It sounds like you're creating&nbsp; Macros as Token Actions, but what you really want are&nbsp; Character Abilities as Token Actions. To do this, you would create Characters for each class of monster (Goblin, Kobold, Dragon, etc), and then set up a token that represents that Character. &nbsp;On the Character you would then add Abilities set as Token Actions, which means when you select a Goblin, you get a menu of it's abilities, when you select a Kobold, you get it's abilities, etc. For linking Tokens to Charcters, see this guide (what you're doing would be Mooks):&nbsp; <a href="https://wiki.roll20.net/Linking_Tokens_to_Journals" rel="nofollow">https://wiki.roll20.net/Linking_Tokens_to_Journals</a> Here are some specifics on Token Actions: &nbsp; <a href="https://wiki.roll20.net/Token_Actions" rel="nofollow">https://wiki.roll20.net/Token_Actions</a> Also, note that for Abilities, the current character is assumed to be the target of any attribute references, so you can put @{dex} instead of @{selected|dex} and the like. Also, none of this requires the API.
Thank you so much Aaron.
1461171163
The Aaron
Roll20 Production Team
API Scripter
No problem! &nbsp;Happy Rolling!