assignedVehicle: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 92032 by killzone_kid on 2015-09-26T01:04:24Z) |
m (template:command argument fix) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the vehicle a unit is assigned to. If no vehicle is assigned [[objNull]] is returned. |= | | Returns the vehicle a unit is assigned to. If no vehicle is assigned [[objNull]] is returned. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|'''assignedVehicle''' unit |= | |'''assignedVehicle''' unit |SYNTAX= | ||
|p1= unit: [[Object]] |= Parameter 1 | |p1= unit: [[Object]] |= Parameter 1 | ||
| [[Object]] |= | | [[Object]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addVehicle]], [[assignAsDriver]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsGunner]], [[unassignVehicle]], [[leaveVehicle]] |= | | [[addVehicle]], [[assignAsDriver]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsGunner]], [[unassignVehicle]], [[leaveVehicle]] |SEEALSO= | ||
}} | }} |
Revision as of 11:25, 7 April 2019
Description
- Description:
- Returns the vehicle a unit is assigned to. If no vehicle is assigned objNull is returned.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_vehicle = assignedVehicle player;
Additional Information
- See also:
- addVehicleassignAsDriverassignAsCargoassignAsCommanderassignAsGunnerunassignVehicle, leaveVehicle
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
Categories:
- Scripting Commands
- Introduced with Arma version 1.05
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA
- Command Group: Object Information
- Command Group: Vehicle Assignment
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters