vehicleVarName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Added ArmA2)
Line 32: Line 32:
[[Category:Scripting Commands|VEHICLEVARNAME]]
[[Category:Scripting Commands|VEHICLEVARNAME]]
[[Category:Scripting Commands ArmA|VEHICLEVARNAME]]
[[Category:Scripting Commands ArmA|VEHICLEVARNAME]]
[[Category:Scripting Commands ArmA2|VEHICLEVARNAME]]

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