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 .
×
May your rolls be merry + bright! 🎄
Create a free account

Problem with setting Macros as token actions

<a href="https://www.youtube.com/watch?annotation_id=annotation_1479158841&amp;feature=iv&amp;src_vid=zLI-oAyHFaA&amp;v=rrbqdkGIa00" rel="nofollow">https://www.youtube.com/watch?annotation_id=annotation_1479158841&amp;feature=iv&amp;src_vid=zLI-oAyHFaA&amp;v=rrbqdkGIa00</a> &nbsp;I followed this video to make a Monster Manual, following the procedures I could create a goblin but if I tried to create another monster then it won't give me the macros as token actions What to do?
1530131992
The Aaron
Pro
API Scripter
I don't want to commit 24min to watching that video, can you describe where and how you created the macros?
I took all the macros from the description of the video
1530132381
The Aaron
Pro
API Scripter
Ok, and where did you put them in Roll20? Macros under the collections tab on the side panel Abilities under the attributes and abilities tab on a character
Abilities: I created a Monster Template with the various macros and then I duplicated it and modified the copy with the specific abilities of a Goblin
I think that a bug is occuring, when I generate a token and then link that token to the sewcond goblin character sheet then if I use the macro while clicking on the goblin token it says:&nbsp; You attempted to use a roll command looking for a selected token ability, but the selected token does not represent a Character, and therefore has no abilities.
1530133173
The Aaron
Pro
API Scripter
Ok.&nbsp; There are 2 things going on here. 1)&nbsp; Macros are not the same thing as Abilities.&nbsp; Abilities are tied to a specific character and have special scoping rules for attributes.&nbsp; Macros are tied to a specific player (but can be shared).&nbsp; I believe the intent of these commands is to be Macros, and have the macros set as token actions.&nbsp;&nbsp; &nbsp; &nbsp; You probably need to recreate those commands as Macros instead of abilities. 2) Tokens must be set to represent a character in order to allow you to access that character's attributes via @{selected} (which those commands use). &nbsp; &nbsp; You should read this wiki page about linking tokens to journals:&nbsp; <a href="https://wiki.roll20.net/Linking_Tokens_to_Journals" rel="nofollow">https://wiki.roll20.net/Linking_Tokens_to_Journals</a>
1530133501
The Aaron
Pro
API Scripter
Re-reading what you said, they might be fine as abilities, just something to be aware of.&nbsp; With that error in the second case, either the token doesn't represent anything, or if you copied an existing character the default token will still represent the previous character.
No, I made sure to change the old token to the new one. It is not about macros/abilities either because it worked for the first kind of goblins. Is it possible this is a bug?
1530134603
The Aaron
Pro
API Scripter
Hold shift and double click the token, see what character it brings up, if any.&nbsp; It's possible you changed what the token represents, but you didn't then set it as the default token on that character, and so dragging out another one got you something set differently.
I’ll try when I’m on pc, thanks for the help
1530137202
The Aaron
Pro
API Scripter
No problem.
I agree with Aaron.&nbsp; You didn't set that token as the default token for the character sheet or you didn't actually link it back to the sheet (or both).&nbsp; Setting the selected token as the default is not enough.&nbsp; You have to link it to the sheet and also set it as the default token (in that order too!).
Yeah, that was the problem. Thanks for the help guys