emptyPositions
Description
- Description:
- Returns the number of given empty positions in the vehicle.
- Groups:
- Object ManipulationUnit Control
Syntax
- Syntax:
- vehicle emptyPositions position
- Parameters:
- vehicle: Object - transport
- position: String - can be one of:
- Return Value:
- Number - the number of available positions ignoring locked positions
Alternative Syntax
- Syntax:
- vehicle emptyPositions [position, ignoreLocked]
- Parameters:
- vehicle: Object - transport
- position: String - see moveInAny. Empty string "" returns number of all free positions
- ignoreLocked (Optional): Boolean - true to ignore locked positions. Default: false
- Return Value:
- Number - the number of available positions ignoring locked positions
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- moveInDriver moveInTurret moveInCommander moveInGunner moveInCargo getCargoIndex moveInAny
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Object Manipulation
- Command Group: Unit Control