fullCrew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Updated game version)
m (1.33 doesn't exist in stable)
Line 4: Line 4:
| arma 3 |= Game name
| arma 3 |= Game name


|1.33|= Game version
|1.34|= Game version


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 06:08, 16 November 2014

Hover & click on the images for description

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

Example 1:
_list = fullCrew vehicle player;
Example 2:
_list = fullCrew [vehicle player, "turret"];

Additional Information

See also:
crewcreateVehicleCrewassignedVehicleRoleallTurrets

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