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

Macro to temp control token?

Is there a way to give a player control over a token when they roll their macro and other way? For example if a player has an attack that shifts the target, is there a quick way to let him gain control of that token?
1402260050
Gid
Roll20 Team
Something this complex would require API scripting, which is a Mentor subscription feature.
No worries if it not able to be done with just macros thats okay ^_^ Just wondering if it was. Thanks for the reply.
1402265691
Gid
Roll20 Team
Sure thing! You're welcome.
The simplest way to do this is just to assign that player control of the token foe the allotted amount of time. The macros are very limited in what they can do. They can do rolls, do some math, and interact with the chat. Their only interaction with objects are the attribute calls, and these are read only. They can not do any set commands, conditionals or other forms of the Javascript logic.