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

[Question] Fire the Token Selector Popup From Within API Script...

1392767233
Konrad J.
Pro
API Scripter
I think I might have read this asked before, but I thought I'd put it out there. Does anyone know a way to fire the Target Selector pop up from a script? I tried sending it in a chat message, but it doesn't seem to trigger it.
1392774094
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
I don't think you can force a token to be selected with API if that is what you mean. You would have trick out the browser at the user.
1392777135
Lithl
Pro
Sheet Author
API Scripter
Does not work. Along with roll queries, this is handled by the client before getting sent off to the API.
1392777566
Konrad J.
Pro
API Scripter
Ya thought I'd ask and see if there was a way. Don't want to force a selection, just wanted to have the target selector popup so the user can select the token.
1392813182
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Alex has investigated this a bit... <a href="https://app.roll20.net/forum/post/645555/client-si" rel="nofollow">https://app.roll20.net/forum/post/645555/client-si</a>...