in vehicle: Difference between revisions
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 |