vehicleVarName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added ArmA2)
(add. ArmA2 classification)
Line 33: Line 33:
[[Category:Scripting Commands ArmA|VEHICLEVARNAME]]
[[Category:Scripting Commands ArmA|VEHICLEVARNAME]]
[[Category:Scripting Commands ArmA2|VEHICLEVARNAME]]
[[Category:Scripting Commands ArmA2|VEHICLEVARNAME]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 18:54, 3 June 2009

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

Description

Description:
Returns the name of the variable which contains a primary editor reference to this object. This is the variable given in the Insert Unit dialog / name field, in the editor. It can be changed using setVehicleVarName. If object refers to a vehicle that wasn't given a name in the editor, the return value is an empty string, "".
Groups:
Uncategorised

Syntax

Syntax:
String = vehicleVarName objectName
Parameters:
objectName: Object
Return Value:
String

Examples

Examples:
Example needed

Additional Information

See also:
setVehicleVarName

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