Difference between revisions of "vehicle"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed example)
m
Line 10: Line 10:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''vehicle''' unit |= Syntax
+
| [[Object#Vehicle|Vehicle]] <nowiki>=</nowiki> '''vehicle''' [[Object#Unit|Unit]]|= Syntax
  
|p1= unit: [[Object]] |= Parameter 1
+
|p1= [[Object#Unit|Unit]]: [[Object]] |= Parameter 1
  
| [[Object]] |= Return value
+
| [[Object#Vehicle|Vehicle]] (or [[Object#Unit|Unit]]): [[Object]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   

Revision as of 03:06, 1 September 2007

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 = vehicle Unit
Parameters:
Unit: Object
Return Value:
Vehicle (or Unit): 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