Difference between revisions of "getVariable"
Jump to navigation
Jump to search
(add. ArmA2 classification) |
|||
Line 29: | Line 29: | ||
Returns [[Nothing]] if the variable doesn't exists.<br> | Returns [[Nothing]] if the variable doesn't exists.<br> | ||
Returns [[Anything]] if the object is undefined. | Returns [[Anything]] if the object is undefined. | ||
+ | There is a third parameter of type Boolean that when set to True makes the variable global. If a variable was set on a playable unit, even with and AI disabled the variable will be present when a JIP player controls the same unit. | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 01:49, 19 July 2009
Notes
-
Returns Nothing if the variable doesn't exists.
Returns Anything if the object is undefined. There is a third parameter of type Boolean that when set to True makes the variable global. If a variable was set on a playable unit, even with and AI disabled the variable will be present when a JIP player controls the same unit.