vehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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

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:
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

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