Difference between revisions of "setVariable"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Only for vehicles.)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Set variable to given value in the variable space of given object. |= 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
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 13:12, 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