vehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:


'''Example:'''
'''Example:'''
? '''vehicle''' [[player]] != [[player]] : [[hint]] "Player is in a vehicle"
? '''vehicle''' [[player]] != [[player]] : [[hint]] "Player is in a vehicle"

Revision as of 16:02, 15 April 2006

back to COMREF

vehicle unit


Operand types:

unit: Object

Type of returned value:

Object

Description:

Vehicle in which given unit is mounted.

If none, unit is returned.


Example:

? vehicle player != player : hint "Player is in a vehicle"