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 Request] Remove one point from a Bar on the token every time it enters a room

The game I am currently in is a dungeon crawler and you lose food once you visit a room. I wanted to make a script that "Damages" Bar 2 on the token. It would act like a trap and would remove one point of food every time you stepped on the location the token was. Can anyone help me if it is possible?
1448786316
The Aaron
Pro
API Scripter
It is definitely possible. You'll have to be in a Game created by a Pro level subscriber to use the API, but if that is the case, someone can help you get that working I'm sure. 
Thank you for informing me that it can be done. Yes, my gm is a pro level subscriber and he started using APIs that he found. Unfortunately there is nothing close to what I want as far as I know and I do not that the skill to create an API from scratch.
You could try tinkering around with It's A Trap .
thank you. I will try though it is rather intimidating. It's very complex.
1448893805
The Aaron
Pro
API Scripter
Definitely post back if that doesn't solve the problem for you and we'll try to get you a solution.  =D
Hey  ArtoriasX - def. give it a try, the best thing about our forums, is we certainly have a wealth of knowledge to spread to our community. I bet our API wizards will certainly be able to help as you learn, all the best!
Thank you for the help. I showed it to my GM and he will try it out for next session. He has not told me if it is working yet but I wanted to thank everyone for the assistance.