[Request] Local Variable

WesdrasLink

Veteran
Veteran
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,585
Latest member
Reversinator
Top