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

Observer Script Slowing down game

Is this just a side effect of this script? I really like the effect it has on the table top making it more realistic combat for my VTT, but combat (switching turn in patirular) takes for ever. The delay seems to be caused solely from this script.
1522940881
The Aaron
Pro
API Scripter
It has to do a great deal of work to achieve the effect.  There is some room for optimization, but basically it looks at every token and character to change the settings.  The more tokens and players (particularly with controlledby entries), the slower that is. How do you have it configured, and how many of your characters and tokens have a controlledby entry?  For example, do you you put yourself on all the monsters so you can drop into player mode and use them?
There’s a lot of characters so that must be why, thank you responding!
1522943462
The Aaron
Pro
API Scripter
I'd be happy to take a look and see if I can come up with some optimizations.
The Aaron said: I'd be happy to take a look and see if I can come up with some optimizations. Awesome thanks!
Anthony V. said: The Aaron said: I'd be happy to take a look and see if I can come up with some optimizations. Awesome thanks! Maybe someway to have it only effect the tokens on the map rather than all of the ones in the journal? Not sure how the script functions just a thought.