Anonymous
-
2009-02-05
when referring to a global variable via the global('Var') expression inside a 'Set Private Variable' action (of e.g. a sprite object), the 'Var' changes to the name of the private variable when there are spaces inside the parantheses.
global( 'GlobalVar' ) and
Global( 'GlobalVar' )
will turn into
global( 'PrivateVar' ) and
Global( 'PrivateVar' )
unless they are typed without spaces:
global('GlobalVar') or
Global('GlobalVar')