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

Randomly Moving Tokens?

So I'm looking for a script that's out there for causing tokens to move randomly while still in the same spot. I know there's a Bounce Token script that will move them up and down, but I'm looking for something a bit more erratic. Likewise, I know this is more or less done in some of the flickering light scripts wherein the invisible light source seems to move around randomly, but I can't seem to find anything that will do this for a token that's already on the map. Is there already a script for this that I'm missing, or even an easy way to accomplish this? 
I made this a while back. It's not perfect, and I should probably not move the paths (dynamic lighting stuff), but it's a kind of earthquake effect: <a href="https://app.roll20.net/forum/post/5784169/screen-s" rel="nofollow">https://app.roll20.net/forum/post/5784169/screen-s</a>...
1516051755

Edited 1516051776
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
There's the&nbsp; Slide Tokens script. It looks like it should be able to move a token and return it to the same spot, even over a very tiny path. I've never used it.
1516054050

Edited 1516054073
Will go ahead and give both of those a try, but is there any way to make the "movement" automatic / continuous? I basically have some Map Layer elements that I want constantly moving in a very subtle way.&nbsp;
1516067248
Gold
Forum Champion
I use the Waypoint Patrol API script for similar animations, <a href="https://app.roll20.net/forum/post/2991336/script-p" rel="nofollow">https://app.roll20.net/forum/post/2991336/script-p</a>... The only problem is that it isn't "random", it is a programmed movement per-token. You can program a token to seem like it's moving zig-zag quite randomly (just randomize the landing spots yourself with the waypoints method), and yes it will continually loop (or go once, your choice, it's a setting).
Awesome, will definitely try that out as it sounds like it could get the job done. Many thanks.