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.

Macro working in one but not another Campaign

Im trying to use this macro as I have control over 4 tokens, however it works in 1 ( my testing campaign in which i am a GM?) but not another. The macro /me @{selected|token_name} readys for combat. (Initiative: [[d20 + @{selected|Initiative} &{tracker}]]) Any Ideas? Thanks
1428431247
The Aaron
Roll20 Production Team
API Scripter
Can you give some details about how it is failing?
1428431946

Edited 1428432576
The Aaron said: Can you give some details about how it is failing? Sorry, the error that comes up is "No character was found for 'selected' " The roll shows "Rolling d20 + selected|Initiative = (x) " x = d20 roll only
1428433786
The Aaron
Roll20 Production Team
API Scripter
And just to be explicit, you do have a token selected that has an attribute named Initiative ?
The Aaron said: And just to be explicit, you do have a token selected that has an attribute named Initiative ? I have indeed clicked the token to select it and have an attribute names Initiative
1428434706
The Aaron
Roll20 Production Team
API Scripter
Can you please follow Steps 1-3 of our Solving Technical Issues wiki page, taking special care to temporarily disable all browser add-ons and extensions, temporarily pause your anti-virus, and try switching browsers (for Chrome/Firefox specific issues) to see if one of those components is causing the problem. If all of that fails, please follow Step 4 , including providing all of the necessary information, so that we can further assist you.
1428435935

Edited 1428436248
vÍnce
Pro
Sheet Author
Matt C. said: Im trying to use this macro as I have control over 4 tokens, however it works in 1 ( my testing campaign in which i am a GM?) but not another. The macro /me @{selected|token_name} readys for combat. (Initiative: [[d20 + @{selected|Initiative} &{tracker}]]) Any Ideas? Thanks Have to ask. Is your token linked to a character sheet? If not, use Represents Character from the token properties and select a character sheet. Linking Tokens to Journals
Resolved... Apparently they weren't character tokens. Thanks
1428438771
The Aaron
Roll20 Production Team
API Scripter
Ah, nice catch, Vince! Matt, glad you got it working!