in vehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#I|COMREF]]
<h2 style="color:#000066">''soldier '''''in ''vehicle'''''</h2>
<h2 style="color:#000066">''soldier '''''in ''vehicle'''''</h2>


'''Operand types:'''
'''Operand types:'''


soldier: [[Object]]
'''soldier:''' [[Object]]


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


'''Type of returned value:'''
'''Type of returned value:'''
Line 14: Line 17:


Check if soldier is mounted in the vehicle.
Check if soldier is mounted in the vehicle.


'''Example:'''
'''Example:'''


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

Revision as of 19:25, 15 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