Get a unit’s role in its current vehicle.
Used because assignedVehicleRole reports the role assigned by the group leader instead of the current position.
_unit | a soldier in a vehicle <OBJECT> |
_role = player call CBA_fnc_vehicleRole
Soldiers role in the current vehicle. Can be “driver”, “gunner”, “commander”, “Turret”, or “cargo”. Empty string if not in vehicle STRING
commy2