April 11, 2013 at 6:23 PM #1 Is there a way to set a variable when a scene loads such that the variable is accessible in all actions?Thanks,Ben
April 11, 2013 at 10:53 PM #2 Hi!just use set() actionfor example:set(MY_VAR,some_value); - will set some_value to MY_VARget(MY_VAR); - will get value from MY _VARtrace(get(MY_VAR)); - will show some_value in log window.all variables is globalHope it helpAndrey
April 12, 2013 at 2:55 PM #3 So when you say all variables are global does that also include variables set within an action?Thanks,Ben
April 12, 2013 at 11:20 PM #4 Hi!Correct.if you set some value in an action, then you can get value in other action.RgaradsAndrey