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 .
×
🍵 What is a cleric’s favorite hot drink? Divini-tea. 🍵
Create a free account

Is this Possible?

1394253853

Edited 1394254046
Ajax
Pro
I would like to have a script that would identify the last Character to Click an Object (a Token, like a table, or chest). Is this possible and would the result be able to be passed on to a macro?
1394258203
Konrad J.
Pro
API Scripter
At first thought I would so no. We don't have a on click event. There might be some work around, but I'm thinking not. If you did something to it like moved it or rotated it then we could save some info in the State command. But I don't htink we could use it in a macro. The macro would have to be done fully in the script as well. Someone else might have some better ideas.
1394264652
Lithl
Pro
Sheet Author
API Scripter
Konrad J. said: If you did something to it like moved it or rotated it then we could save some info in the State command. Even that wouldn't work since the graphic:changed event doesn't say who caused the graphic to change, only that the change happened.