fullCrew: Difference between revisions
Jump to navigation
Jump to search
m (dev) |
m (gamename) |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma3dev |= Game name | ||
| | |1.33|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 03:46, 17 October 2014
Description
- Description:
- Returns array with all crew inside given vehicle.
- Groups:
- Uncategorised
Syntax
- Syntax:
- fullCrew vehicle
- Parameters:
- vehicle: Object or Array in format [vehicle, type]
- type: String - filter, available values are "driver", "commander", "gunner", "turret", "cargo"
- Return Value:
- Array - in format [[unit,role,turretPath,humanTurret], ...]
Examples
- Example 1:
_list = fullCrew vehicle player
- Example 2:
_list = fullCrew [vehicle player,"turret"]
Additional Information
- See also:
- crew
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
[[Category:Introduced with arma3dev version 1.33]][[ Category: arma3dev: New Scripting Commands | FULLCREW]][[ Category: arma3dev: Scripting Commands | FULLCREW]]