assignedVehicleRole: Difference between revisions
Jump to navigation
Jump to search
(+ command group) |
m (bad example) |
||
Line 18: | Line 18: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''assignedVehicleRole''' | | '''assignedVehicleRole''' unit|= Syntax | ||
|p1= | |p1= unit: [[Object]] |= Parameter 1 | ||
| [[Array]] |= Return value | | [[Array]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>assignedVehicleRole player</pre> |= Example 1 | |x1= <pre>_RoleArray=assignedVehicleRole player</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 09:05, 24 August 2007
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:
- 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