emptyPositions

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Returns the number of given positions in the vehicle. Positions can be "Commander", "Driver", "Gunner" or "Cargo"

Syntax

Syntax:
Number = vehicle emptyPositions position
Parameters:
vehicle: Object
position: String
Return Value:
Number

Examples

Example 1:
_freeCargoPositions = vehicle player emptyPositions "cargo";

Additional Information

Multiplayer:
-
See also:
moveInDrivermoveInTurretmoveInCommandermoveInGunnermoveInCargogetCargoIndex

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section