Difference between revisions of "setVariable"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Only for vehicles.)
m
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Set variable to given value in the variable space of given object. The object must be a vehicle, otherwise the function does nothing.  |= Description
+
| Set variable to given value in the variable space of given object.
 +
 
 +
The object must be a vehicle, otherwise the function does nothing.  |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| object '''setVariable''' [name, value] |= Syntax
+
| '''''object'' setVariable ''[name, value]''' |= Syntax
  
 
|p1= object: [[Object]] |= Parameter 1
 
|p1= object: [[Object]] |= Parameter 1

Revision as of 19:55, 15 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. The object must be a vehicle, otherwise the function does nothing.

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 and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section