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

CombatMaster Pull-Ping

Loving Combat master! Though I've not put it into an actual game as yet I feel like it's going to really speed things along. Very excited to try it out! 1.  I want to change the ping colour to be  not  yellow in Combat Master (around line 1917 of the code perhaps?). I feel like I've seen this somewhere before but can't track it down... 2. I have a feeling this one would be a hard 'no' - is there a way for a player to  opt out  of the pull-ping? (based on past experience when shift-clicking, a player is off away from the battle exploring and annoyingly keeps getting pulled back. 3. Is there a way to adjust the pull speed? It is currently less than half a second. Could it snap (0 seconds) or be slower (say 3 seconds)? And can the pull speed ramp in and out so it is not so jarring? I think 2 and 3 are more to do with the ping functionality in roll20 and that has recently gone through some changes in Jumpgate, so I don't expect much there ;)  Mostly I'm just super interested in changing the colour of the ping! Thanks all and Happy New Year! Thanks!
1735844579
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Jeremy! Let's take those in order: 1. Ping Pulls generated by the API are Yellow by default. You can change this programatically specifying a playerID during a pull. This would require a change in the code. The Ping Buddy mode for example, has a "silent" mode that sends the Ping using the GM color, but temporarily turns that color to transparent. This would require editing the code of Combat Master 2. Again, possible, but difficult. Specific people can be defined during a ping pull, but this would again require editing the script, and would likely require some sort of complicated interface for determining who sees the pull. 3. AFAIK, this is not possible. It's not a parameter the Mod system has access to, and is probably "hardwired i"nto the feature anyway. You might try checking with the author of Combat Master, but I don't know if Victor is still developing; it's been six months since their last post. #1 might be doable. #2 would require a lot of work.
Hey Keith :) Thanks for the reply! Screw 2 and 3 hahah... I figured those were a long shot and should have been a separate post. I don't mind copying and adjusting the code but I don't know the syntax. Is it posible to specify a hex value rather than playerID?
1735861527
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Jeremy P. said: Hey Keith :) Thanks for the reply! Screw 2 and 3 hahah... I figured those were a long shot and should have been a separate post. I don't mind copying and adjusting the code but I don't know the syntax. Is it posible to specify a hex value rather than playerID? Here are the specs for the sendPing function. It has to take the color of a player (the API is considered a player for many reasons, and is always yellow). You could set up a dummy player and use that player's color, or change your GM color and always send as GM.