From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Returns vehicle roles.
- Execution:
- call
- Groups:
- Vehicles
Syntax
- Syntax:
- vehicle call BIS_fnc_vehicleRoles
- Parameters:
- Object or String - vehicle itself or a classname
- Return Value:
- Array - to format [[role, path], [role, path], …] like this:
Copy[
["Driver",[]],
["Turret",[0]],
["Turret",[0,0]],
["Cargo",[0]],
["Cargo",[1]],
// ...
]
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- BIS_fnc_moveIn assignedVehicleRole weaponsTurret
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