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

New to scripting, Trap revealing yourself as you step on it?

Is that a thing?
1407723908

Edited 1407723916
The Aaron
Roll20 Production Team
API Scripter
Yes, the interpolated trap detection script: <a href="https://app.roll20.net/forum/post/529899/script-in" rel="nofollow">https://app.roll20.net/forum/post/529899/script-in</a>... Someone made a change to it that preserves the path of the token if it was placed with multiple waypoints via the space key. I think the details are toward the bottom.
Thanks! Another quick question, is there a way for one square/trap set off and reveal other objects?
1407726770
The Aaron
Roll20 Production Team
API Scripter
That script doesn't have that logic, but it wouldn't be horribly difficult to do that. You could probably add it to that script with a minimum of difficulty. (or I could help you add it if scripting isn't your thing.)
I'd love the help! I'm going through the tutorial for java right now but I'm not quite up to this yet
1407729096
The Aaron
Roll20 Production Team
API Scripter
No worries. Just PM me when you get your Mentor subscription setup and we can see about getting it working for you. =D
1407729305

Edited 1407729350
I have mentor on this account so I'm ready to go
1407731441
The Aaron
Roll20 Production Team
API Scripter
Ah! Didn't realize you were the same person. :) I'm headed to bed now, but PM me and we can discuss what it will take.