setVehicleVarName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|SETVEHICLEVARNAME]]
[[Category:Scripting Commands ArmA|SETVEHICLEVARNAME]]


<new command not populated>


<h2 style="color:#000066">'''''object'' setVehicleVarName ''name'''''</h2>


<h2 style="color:#000066">''''' setVehicleVarName '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''object:''' [[Object]]
 
'''name:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.32 required.


'''Description:'''
'''Description:'''


Sets the name of the variable which contains a reference to this object. It is necessary in MP to change the variable content after a respawn.


'''Example:'''
'''Example:'''
player '''setVehicleVarName''' "aP"

Revision as of 17:41, 4 July 2006


object setVehicleVarName name


Operand types:

object: Object

name: String

Type of returned value:

Nothing

Compatibility:

Version 2.32 required.

Description:

Sets the name of the variable which contains a reference to this object. It is necessary in MP to change the variable content after a respawn.

Example:

player setVehicleVarName "aP"