assignedVehicleRole: Difference between revisions
Jump to navigation
Jump to search
(updated) |
(add. classification) |
||
Line 51: | Line 51: | ||
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]] |
Revision as of 00:31, 2 December 2009
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:
- assignedVehicleunassignVehicle
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