local variables constantly reset!? Do you know the logic of why this is so?
this makes them rather limited and forces me to use global when there isn't really a need for it to be global other than this weird limitation...
mutajon, to answer why; in programming, a local variable is a variable that only exists at the time a method runs. Each time the program calls the method, the variable gets created and when the method ends, the variable gets destroyed. The variable is "local" to the method. Every tick in construct, the actions and events are run as separate instances. In essence, the system is calling each of these actions like methods which causes a local instance of the variables to be created then.
I hope that helps you understand these local variables a little better.