How do I add local variable to function?
In my function I will need a counter. If I add parametr0 = 0 as number(function variable) I can't increment it. I figured I can store my "local variables" in array but it looks stupid. Is there a better way?
Right click..add local variable..
or just press V when function is selected
I want LOCAL not global!
Develop games in your browser. Powerful, performant & highly capable.
Right click on a sub-condition and add local variable. You can't add them to a top level condition - that would make them a global variable...
Or make Global and drag it to whatever sub-event to make it Local