assignedVehicleRole: Difference between revisions
Jump to navigation
Jump to search
(see also) |
mNo edit summary |
||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Array]] <nowiki>=</nowiki> '''assignedVehicleRole''' | | [[Array]] <nowiki>=</nowiki> '''assignedVehicleRole''' unitName |= Syntax | ||
|p1= | |p1= unitName: [[Object]] |= Parameter 1 | ||
| [[Array]] |= Return value | | [[Array]] |= Return value |
Revision as of 22:54, 21 January 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