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

sendPing API function bugged?

1446136456
Ziechael
Forum Champion
Sheet Author
API Scripter
The wiki states: //Example: on('ready', function() { sendPing(500, 500, Campaign().get('playerpageid'), null, true); //Sends a ping to 500,500 on the page players are currently on, using the yellow color and moving the player's screens. }); However, when used as part of a script the ping and screen movement is only visible to the GM (in fact testing with a co-GM showed that it may only be visible to the creator of the game).
1446146703

Edited 1446146762
DXWarlock
Sheet Author
API Scripter
Its been that way a LOONG time, I reported it about a year ago. <a href="https://app.roll20.net/forum/post/987974/bug-sendp" rel="nofollow">https://app.roll20.net/forum/post/987974/bug-sendp</a>... Only GM on the campaign gets their view moved. I hope they fix it one day.
1446150305
Ziechael
Forum Champion
Sheet Author
API Scripter
Only the GM can see the ping too which seems counter productive to me lol, thanks for validating my 'sanity' such as it is though!
1446416662

Edited 1446416693
DXWarlock
Sheet Author
API Scripter
It seems a bit pointless with it broke as it is, GM could just move himself. I've been waiting a while hoping it get fixed, my turn order script has it commented out to move to the current turn token for a long time :)