assignedVehicleRole
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.05
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
If no vehicle role is assigned, an empty array is returned.
Syntax
Examples
- Example 1:
_RoleArray=assignedVehicleRole player
Additional Information
- Multiplayer:
- Behaviour unknown.
Notes
Notes
Notes

