Difference between revisions of "vehicle"

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

Revision as of 16:23, 24 January 2009

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:
Object = vehicle unitName
Parameters:
unitName: 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