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

A bit of help working out force view

June 02 (10 years ago)

Edited June 02 (10 years ago)
DXWarlock
Sheet Author
API Scripter
Ive dug around in the API wiki, and the API forum and cant seem to see if this is possible.
Im trying to add to my turn tracker script, a sort of "GM's shift ping" type camera movement to the current highlighted token.

But I cant seem to find any API calls for telling it to move everyones viewpoint to X,Y position. Is this even possible with API?
June 02 (10 years ago)

Edited June 02 (10 years ago)
DXWarlock
Sheet Author
API Scripter
literally 30 seconds after I posted this, I found the:
sendPing(left, top, pageid, (optional) playerid, (optional) moveAll)

I could have swore I looked at that API page 5 times last night looking...

Heh, happens to the best of us William. I answer my own posts sometimes just be looking at the problem logically.