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] Marching order

1371100528

Edited 1387513874
Ada L.
Marketplace Creator
Sheet Author
API Scripter
Here's a script that lets you tell your tokens to follow other tokens. It also lets the GM specify marching orders by giving a list of token names. Update 12/19/2013: The follow/unfollow commands now work properly for players to tell their character tokens to follow other tokens. This requires that the player-controlled tokens to represent a character controlled by the player. GMs can still tell any token to follow any other token. <a href="https://gist.github.com/Cazra/5771375" rel="nofollow">https://gist.github.com/Cazra/5771375</a> Video related: <a href="http://www.youtube.com/watch?v=waa2ucfgVgQ" rel="nofollow">http://www.youtube.com/watch?v=waa2ucfgVgQ</a>
Omg this is perfect! Will it work with a token underneath it? Im assuming it keeps relative distance at 0 if st to follow while in the same square? Thks is exactly what ivs been looking for to manage torches. I use a transparent layer and group with thextoken carrying the torch. This would simplfy things so much
damn. Guess it doesn't work that way. oh well, still cool, just not QUITE what I was all excited about.&nbsp; still like it though :P
This looks fantastic, can't wait to try it out.&nbsp;
1371311179
Ada L.
Marketplace Creator
Sheet Author
API Scripter
Michael, you're in luck! I updated my script to all tokens to be able to carry other tokens using the commands !carry !drop and !dropAll. Enjoy! The update is in the gist link.
Can you fork a version that just does the !carry and !drop commands?
That is awesome! If only I wasnt on my phone on the way to work when I starting browsing : / Will update tonight and seeif I can break it before my game tomorrow. My players have been getting annoyed at losing the torch when the init tracker forces em to leave the torch behind during combat
1371401568
Ada L.
Marketplace Creator
Sheet Author
API Scripter
That sounds like a good idea to have the different capabilities be separate, Honey Badger.&nbsp; The marching order and carrying scripts are now in separate gists. The carrying script is here now:&nbsp; <a href="https://app.roll20.net/forum/post/201089/script-carrying-tokens#post-201089" rel="nofollow">https://app.roll20.net/forum/post/201089/script-carrying-tokens#post-201089</a>
just letting you know I haven't managed to break it after a few hours of playing. just one thing though, to do with making the script persistent over multiple sessions. its not a BIG hassle, just a few minutes prep each time the campaign starts, but would be a boon.&nbsp;