fullCrew: Difference between revisions
Jump to navigation
Jump to search
m (1.33 doesn't exist in stable) |
No edit summary |
||
Line 35: | Line 35: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on December 13, 2014 - 22:54 (UTC)</dd> | |||
<dt class="note">[[User:Commy2|Commy2]]</dt> | |||
<dd class="note"> | |||
Be aware that the returned role may or may not be in lowercase. E.g. it's "driver" for the driver, but "Turret" for turret units.<br> | |||
<br> | |||
As of Arma 3 version 1.36, the alternative syntax of this command returns all crew members if the filter is anything except "driver", "commander", "gunner", "turret" or "cargo"<br> | |||
The filter is not case sensitive. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 23:54, 13 December 2014
Description
- Description:
- Returns array with all crew inside given vehicle.
- Groups:
- Uncategorised
Syntax
- Syntax:
- fullCrew vehicle
- Parameters:
- vehicle: Object
- Return Value:
- Array - format [[<Object>unit,<String>role,<Number>cargoIndex,<Array>turretPath,<Boolean>personTurret], ...]
Alternative Syntax
- Syntax:
- fullCrew [vehicle, type]
- Parameters:
- [vehicle, type]: Array
- vehicle: Object
- type: String - filter (role) available values are "driver", "commander", "gunner", "turret", "cargo"
- Return Value:
- Array - format [[<Object>unit,<String>role,<Number>cargoIndex,<Array>turretPath,<Boolean>personTurret], ...]
Examples
Additional Information
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
Notes
Bottom Section
- Posted on December 13, 2014 - 22:54 (UTC)
- Commy2
-
Be aware that the returned role may or may not be in lowercase. E.g. it's "driver" for the driver, but "Turret" for turret units.
As of Arma 3 version 1.36, the alternative syntax of this command returns all crew members if the filter is anything except "driver", "commander", "gunner", "turret" or "cargo"
The filter is not case sensitive.