setVehicleVarName
Jump to navigation
Jump to search
Description
- Description:
- Object setVehicleVarName "name"
- Groups:
- Uncategorised
Syntax
- Syntax:
- Nothing
- Parameters:
- Object
- name: String
- Return Value:
- Return value needed
Examples
- Example 1:
player setVehicleVarName "aP"
- Example 3:
//Assign a variable to an object and be able to refer to that
//object using the variable, in both single and multi player.
_Object="M1A1" CreateVehicle (GetPos Player); _VarName="MYTANK"; _Object SetVehicleVarName _VarName; _Object Call Compile Format ["%1=_This ; PublicVariable ""%1""",_VarName];
Additional Information
- See also:
- See also needed
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