- Joined
- Jan 2, 2013
- Messages
- 40
- Reaction score
- 60
- First Language
- Portuguese
- Primarily Uses
- RMMV
Hello everyone, i need a help and i don't know how to make a solution.
I have many events in a map with a variable(Event), actually is a Item spawner like a plant, when a variable reaches 30 in his constant this item will become avaliable in map, but when i collect this "plant" the variable resets to "0" but when this happens another event that uses the same variable will desapear as well. My question is:
Its possible to make a plugin for use a single variable in diferents events? So i don't need to create a diferent variable to any event. If it's possible, i need help to write a js.plugin, and i am novice in js.
Thanks.
I have many events in a map with a variable(Event), actually is a Item spawner like a plant, when a variable reaches 30 in his constant this item will become avaliable in map, but when i collect this "plant" the variable resets to "0" but when this happens another event that uses the same variable will desapear as well. My question is:
Its possible to make a plugin for use a single variable in diferents events? So i don't need to create a diferent variable to any event. If it's possible, i need help to write a js.plugin, and i am novice in js.
Thanks.
