vehicleVarName: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>") |
||
Line 30: | Line 30: | ||
|r1= [[String]] - Variable name, if none was set, {{ic|""}} is returned | |r1= [[String]] - Variable name, if none was set, {{ic|""}} is returned | ||
|x1= < | |x1= <sqf>hint vehicleVarName player;</sqf> | ||
|seealso= [[setVehicleVarName]] [[BIS_fnc_objectVar]] | |seealso= [[setVehicleVarName]] [[BIS_fnc_objectVar]] |
Revision as of 14:11, 5 May 2022
Description
- Description:
- Returns the variable name that 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.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- vehicleVarName object
- Parameters:
- object: Object
- Return Value:
- String - Variable name, if none was set,
""
is returned
Examples
- Example 1:
Additional Information
- See also:
- setVehicleVarName BIS_fnc_objectVar
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Object Manipulation
- Scripting Commands: Local Effect