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

Patrol scripts?

I actually asked this a while ago but have since lost the link that was helpfully provided. I just upgraded to Pro and now have access to API stuff, but I've tried to understand how to code in the past and it's never stuck, so I was wondering if anyone knows how to make tokens move on a patrol path? What I'm really trying to do with it is get some tokens to scroll in a straight line and then either reset their position to an origin point and repeat the same movement or to delete and regenerate themselves to accomplish the same thing. All of this is to simulate traffic and crowds in chase scenes for my groups, possibly give scrolling backgrounds too for high speed movement encounters. Anyone have any experience with this or know a tutorial to how to accomplish this?
Try these two: <a href="https://app.roll20.net/forum/post/2991336/script-patrols-using-waypoints/" rel="nofollow">https://app.roll20.net/forum/post/2991336/script-patrols-using-waypoints/</a> <a href="https://app.roll20.net/forum/post/6325799/script-patrolling-npcs-with-options" rel="nofollow">https://app.roll20.net/forum/post/6325799/script-patrolling-npcs-with-options</a>
Thanks! That was EXACTLY the source I was looking for!