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 .
×

Patrolling Script

Hello I found the patrol script for tokens here ,&nbsp; <a href="https://app.roll20.net/forum/post/139970/script-patrolling-tokens" rel="nofollow">https://app.roll20.net/forum/post/139970/script-patrolling-tokens</a> &nbsp; , I have this working for some of my gaurds. However I was wondering if anyone has made a script to set up a patrol in a square instead of just up/down or left/right ? Also is there a way to add command to patrol script to flip the token when it changed directions, so it is looking the correct way? Thanks&nbsp;
When you "Create Path" keep using the way point feature "q" to add corners and path routs...squares, circles, ect... once you are ready to add token to it "Create Patrol" there are drop down features.. I usually set them to "0 degrees" they usually will rotate just fine along path.
1538932592
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You might be able to find some facing help from the last script on this page in the wiki. There is also this script , but I don't know if responds to API-generated movement, nor if it controls anything other than horizontal flipping.