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

Script for randomly moving tokens?

Basically, I want to be able to simulate party members being flung away from the blast of a huge explosion (e.g. spell, breath weapon, earthquake, even a cavalry charge) in random directions. Does such a script exist? I see that there's a ShuffleToken script in the one-click, but there is zero documentation so I have no idea how it would run.
1611689336

Edited 1611689421
The Aaron
Roll20 Production Team
API Scripter
KABOOM will move tokens back from an explosion. Not sure about how random it is, but that might actually be ok. You could move a single token randomly with TokenMod, but there's not a way to make it move every token in a random direction, they'd all move in the same random direction. KABOOM would be my suggestion as it respects DL walls. <a href="https://app.roll20.net/forum/post/4541901/script-kaboom-dot-js-create-explosions-and-implosions-that-manipulate-token-position" rel="nofollow">https://app.roll20.net/forum/post/4541901/script-kaboom-dot-js-create-explosions-and-implosions-that-manipulate-token-position</a>
1611689745
The Aaron
Roll20 Production Team
API Scripter
And, it's in the 1-click.
Cool, thanks for the rec. Will check it out!
The Aaron said: KABOOM will move tokens back from an explosion. Not sure about how random it is, but that might actually be ok. You could move a single token randomly with TokenMod, but there's not a way to make it move every token in a random direction, they'd all move in the same random direction. KABOOM would be my suggestion as it respects DL walls. <a href="https://app.roll20.net/forum/post/4541901/script-kaboom-dot-js-create-explosions-and-implosions-that-manipulate-token-position" rel="nofollow">https://app.roll20.net/forum/post/4541901/script-kaboom-dot-js-create-explosions-and-implosions-that-manipulate-token-position</a> Trying KABOOM out right now and it's great. Exactly what I was looking for. Thanks, Aaron!