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

future or not thought of?

1478898958

Edited 1478899181
A set motion for enemies, if the characters in my game or any other game go into a room, a sit motion sat up and activated by the GM happens, say for example: the characters walk into a big room, as a sat motion goblin are sat into motion going to a pre determined spot, after that motion its done free movement, for a surprise factor
1478900787
The Aaron
Pro
API Scripter
This is the sort of thing that would be best handled with an API script, which requires a Pro Subscription. 
1478902642
Gold
Forum Champion
I use the API script called Waypoint Patrol for this, <a href="https://app.roll20.net/forum/post/2991336/script-p" rel="nofollow">https://app.roll20.net/forum/post/2991336/script-p</a>...
thanks guys cool greatfull dead
mr. gold i copied and pasted your scipt but how do i use it for my game&nbsp;
1478971161
Gold
Forum Champion
Hammy said: mr. gold i copied and pasted your scipt but how do i use it for my game&nbsp; Hi Hammy. Try your best to follow Matt's instructions on that link. He wrote the script and the directions. I'll give you a start. &nbsp;With the script installed in your game's Roll20 API (as you already said you copied/pasted there)... Now enter your game table. &nbsp;Find a token, move that token around. &nbsp;Then type this into the chat: !wp menu Then press the "Path" button that comes up. Configure the path. Then click the token again, this time press "Patrol" button and configure that. Now that token should start patrolling on your path.
Thanks had to play with it for a while (2 hours) but I got it, but one more question pops up I'm running a star wars game, I tried making a blaster bolt but failed can you give me any pointers&nbsp;
1479012900

Edited 1479012971
Gold
Forum Champion
I tried making a blaster bolt but failed can you give me any pointers Sure, I'll try. Tell us more about what you want or imagine the blaster bolt would look like? What would it do? There is something you might not want, with this script. &nbsp;It continually repeats the movement until you (the GM) stop it. So, it's not currently good for shooting just one blaster bolt. &nbsp;It would work for repeatedly shooting the blaster in a continual line, like suppressing fire. You could manually stop it (turning off Patrols), after it shoots once, if you're quick enough! Anyway. If you wouldn't mind it continually shooting the blasts, I can give pointer for setting that up with Waypoint Patrol. Ok first put a blaster-bolt graphic down as a token. &nbsp;Next move the blast (in the direction that it is shooting) for exactly 50 feet (or any exact distance that you can remember). Next, bring up the controls by typing !wp menu in the chat. Select the blaster-bolt token that was recently moved, press Path button and name it "bolt-path1" or anything. With the blaster-bolt token still selected, next press the Patrol button. Here's the settings: Move Forward Only (not forwards and backwards because blaster bolts don't reverse). Distance on each move: 50 feet. Important! Just use the exact full distance of the path that you set up. Rotate: No.&nbsp; That's it. Now the bolt should continually fire, and each movement will move the entire exact distance of the path, thus it is a shot that starts (at the blaster) and ends (where it's "hitting"). &nbsp;Each time a new bolt comes out, it should be at the start on the blaster side because all the distance was patrolled. If you do any inexact distances, such as a 40 foot path with a 50 foot movement rate, it will turn into a Subway-train that turns around at the terminus and stars coming back, and that's not what you want for a shot.
1479148214
The Aaron
Pro
API Scripter
Here's an effect I made for blaster bolts for someone a while back: { "angle": -1, "angleRandom": 0, "duration": 15, "emissionRate": 60000, "lifeSpan": 20, "lifeSpanRandom": 0, "maxParticles": 3000, "size": 1, "sizeRandom": 0, "speed": 175, "speedRandom": 22, "startColour": [90, 175, 175, 0.35], "startColourRandom": [0, 0, 0, 0.25], "endColour": [125, 125, 125, 0], "endColourRandom": [0, 0, 0, 0] } You can probably use that as a jumping off point.
Ok guys I'm back with another on&nbsp; Its like "its a trap" but I don't want a trap I need a device to appear at the end of a hallway with a message that the characters can &nbsp;read before the go down the hallway&nbsp;