emptyPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
'''Operand types:'''
'''Operand types:'''


'''vehicle''': [Object]]
'''vehicle''': [[Object]]


'''position''': [[String]]
'''position''': [[String]]

Revision as of 21:54, 13 July 2006


vehicle emptyPositions position


Operand types:

vehicle: Object

position: String

Type of returned value:

Number

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"