in vehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:
'''Example:'''
'''Example:'''


? [[player]] '''in''' jeepOne : jeepOne [[setfuel]] 1
? [[player]] '''in''' jeepOne : jeepOne [[setFuel]] 1

Revision as of 16:06, 21 April 2006


back to COMREF

soldier in vehicle


Operand types:

soldier: Object

vehicle: Object

Type of returned value:

Boolean

Description:

Check if soldier is mounted in the vehicle.


Example:

? player in jeepOne : jeepOne setFuel 1