setVariable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
[[Category:Scripting Commands OFP Elite |SETVARIABLE]]
[[Category:Scripting Commands OFP Elite |SETVARIABLE]]
[[Category:Scripting Commands ArmA|SETVARIABLE]]
[[Category:Scripting Commands ArmA|SETVARIABLE]]
 
{{ArmA-disclaimer}}


<h2 style="color:#000066">'''''object'' setVariable ''[name, value]'''''</h2>
<h2 style="color:#000066">'''''object'' setVariable ''[name, value]'''''</h2>
Line 24: Line 24:


Set variable to given value in the variable space of given object.
Set variable to given value in the variable space of given object.
'''MP Note:'''
Has only local effect.

Revision as of 18:32, 19 July 2006

Template:ArmA-disclaimer

object setVariable [name, value]


Operand types:

object: Object

[name, value]: Array

Type of returned value:

Nothing

Compatibility:

Version 2.92 required.

Description:

Set variable to given value in the variable space of given object.


MP Note:

Has only local effect.