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.

API unable to switch GM View

1460466316
TheWhiteWolves
KS Backer
API Scripter
Now I don't know if this is intended behaviour or a bug, but I thought I should report it anyway. I have been developing a script that is able to move players between pages and I have noticed that the GM's view when logged in as a GM cannot be switched by the script when they are targeted. The script will move the player version of the GM (e.g. they have gone to My Settings > Join as Player) and this can be seen in the pages tab but the GM's view itself will not switch. The above gif shows the behaviour that I am describing, the perspective on the left is the GM and the perspective on the right is the player. As you can see the player version changes page and the player is moved in the pages tab but the GM view does not change.
1460468688
Lithl
Pro
Sheet Author
API Scripter
I believe this is simply the side effect of the special privileges of GMs. GMs can view any page, at any time, so setting them on the playerspecificpages property doesn't really mean much.
Brian is correct, there is currently no way to "force" a GM to go to a different page.
1460480022

Edited 1460480070
TheWhiteWolves
KS Backer
API Scripter
That is what I had assumed was the case but thought I would mention it anyway, maybe some GM moving power in the future ;)