vehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
m (arma3 category)
Line 38: Line 38:
[[Category:Scripting Commands ArmA|VEHICLE]]
[[Category:Scripting Commands ArmA|VEHICLE]]
[[Category:Scripting Commands ArmA2|VEHICLE]]
[[Category:Scripting Commands ArmA2|VEHICLE]]
[[Category:Scripting Commands Arma 3|VEHICLE]]

Revision as of 14:30, 4 May 2013

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" - This example is for use in scripts.

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