vehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed example)
mNo edit summary
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 02:06, 1 September 2007

Hover & click on the images for description

Description

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

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

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section