Difference between revisions of "vehicle"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (fixed example)
Line 17: Line 17:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <pre>? vehicle [[player]] != [[player]] : [[hint]] "Player is in a vehicle"</pre> |= Example 1
+
|x1= <code>? vehicle [[player]] <nowiki>!=</nowiki> [[player]] : [[hint]] "Player is in a vehicle"</code> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 00:07, 4 August 2006

Introduced with Operation Flashpoint version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Vehicle in which given unit is mounted. If none, unit is returned.

Syntax

Syntax:
vehicle unit
Parameters:
unit: Object
Return Value:
Object

Examples

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

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the feedback tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section