vehicleVarName

From Bohemia Interactive Community
Jump to navigation Jump to search
-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:
setVehicleVarNameisValidVarName (VBS2)

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