assignedVehicleRole

From Bohemia Interactive Community
Revision as of 17:55, 29 April 2007 by Manny (talk | contribs) (+ command group)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.05
Hover & click on the images for description

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

Syntax:
assignedVehicleRole vehicle
Parameters:
vehicle: Object
Return Value:
Array

Examples

Example 1:
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

Notes

Bottom Section