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] Trap script (like in vid)

1367358744
Alex L.
Pro
Sheet Author
Here is the code should work just like in the video :P <a href="https://gist.github.com/pigalot/5492222" rel="nofollow">https://gist.github.com/pigalot/5492222</a> Why is this link not working?
I think those could be made much easier and reusable by simply checking if there's a trap token at the destination coordinates. The way you've implemented it isn't very flexible.
1367359253
Alex L.
Pro
Sheet Author
It's a simple script it would be very easy to make it check for a token but not everyone would be using a token, you could also have an array of trap locations with diferent effects for each added using a chat command, but as i said its just a simple example.