assignedVehicleRole: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (unassigned ret. val) |
||
Line 14: | Line 14: | ||
* ["Cargo"] - Assigned as cargo | * ["Cargo"] - Assigned as cargo | ||
* ["Turret", [turret path]] - Assigned to a turret | * ["Turret", [turret path]] - Assigned to a turret | ||
If no vehicle role is assigned, an empty array is returned. | |||
|= Description | |= Description |
Revision as of 03:48, 26 May 2008
Description
- Description:
- Return the role a unit is assigned to within its assigned vehicle.
The array which is returned contains:
- [] - Not assigned to any vehicle
- ["Driver"] - Assigned as driver
- ["Cargo"] - Assigned as cargo
- ["Turret", [turret path]] - Assigned to a turret
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_RoleArray=assignedVehicleRole player
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