Difference between revisions of "vehicle"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reverted edits by Dissaifer (Talk); changed back to last version by GranQ)
Line 28: Line 28:
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
  
The example does not work with AI
 
 
<!-- Note Section END -->
 
<!-- Note Section END -->
 
</dl>
 
</dl>

Revision as of 13:47, 6 November 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
Groups:
Uncategorised

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