Difference between revisions of "setVariable"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 1: Line 1:
[[Category:Scripting Commands|SETVARIABLE]]
+
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETVARIABLE]]
+
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETVARIABLE]]
 
{{ArmA-disclaimer}}
 
  
<h2 style="color:#000066">'''''object'' setVariable ''[name, value]'''''</h2>
+
| arma |= Game name
  
 +
|2.92|= Game version
 +
____________________________________________________________________________________________
  
'''Operand types:'''
+
| Set variable to given value in the variable space of given object. |= Description
 +
____________________________________________________________________________________________
  
'''object:''' [[Object]]
+
| object '''setVariable''' [name, value] |= Syntax
  
'''[name, value]:''' [[Array]]
+
|p1= object: [[Object]] |= Parameter 1
  
'''Type of returned value:'''
+
|p2= [name, value]: [[Array]] |= Parameter 2
  
[[Nothing]]
+
| [[Nothing]] |= Return value
 +
____________________________________________________________________________________________
  
'''Compatibility:'''
+
|  |= See also
  
Version 2.92 required.
+
}}
  
'''Description:'''
+
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
Set variable to given value in the variable space of given object.
+
<!-- Note Section END -->
 +
</dl>
  
 
+
<h3 style="display:none">Bottom Section</h3>
'''MP Note:'''
+
[[Category:Scripting Commands|SETVARIABLE]]
 
+
[[Category:Scripting Commands OFP Elite |SETVARIABLE]]
Has only local effect.
+
[[Category:Scripting Commands ArmA|SETVARIABLE]]

Revision as of 23:35, 1 August 2006

Introduced with Armed Assault version 2.922.92
Hover & click on the images for descriptions

Description

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

Syntax

Syntax:
object setVariable [name, value]
Parameters:
object: Object
[name, value]: Array
Return Value:
Nothing

Examples

Example:
Example needed

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section