assignedVehicleRole: Difference between revisions
Jump to navigation
Jump to search
m (new command needs populating.) |
(Populated, please adjust style to your liking.) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Return the. | | 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 | |||
|= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 14: | Line 22: | ||
|p1= vehicle: [[Object]] |= Parameter 1 | |p1= vehicle: [[Object]] |= Parameter 1 | ||
| [[ | | [[Array]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= |= Example 1 | |x1=assignedVehicleRole player |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 10:40, 24 February 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:
- 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