vehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added ArmA2)
No edit summary
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 06:44, 6 November 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

The example does not work with AI

Bottom Section