setVariable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
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

-wrong parameter ("Arma") defined!-2.92
Hover & click on the images for description

Description

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

Syntax

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

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section