vehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|V]]
[[Category:Scripting Commands ArmA|V]]


back to [[Scripting_Reference#V|COMREF]]


<h2 style="color:#000066">''' vehicle ''unit'''''</h2>
<h2 style="color:#000066">''' vehicle ''unit'''''</h2>

Revision as of 11:00, 23 April 2006


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"