emptyPositions

From Bohemia Interactive Community
Revision as of 03:22, 3 July 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


vehicle emptyPositions vehicle


Operand types:

vehicle: [Object]]

position: String

Type of returned value:

Object

Compatibility:

Version 2.92 required.

Description:

Returns the number of available cargo, driver, gunner or commander positions in the vehicle.

Example:

_freePositions = (vehicle player) emptyPositions "cargo"