assignedVehicle

From Bohemia Interactive Community
Revision as of 03:04, 26 September 2015 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.05
Hover & click on the images for description

Description

Description:
Returns the vehicle a unit is assigned to. If no vehicle is assigned objNull is returned.
Groups:
Uncategorised

Syntax

Syntax:
assignedVehicle unit
Parameters:
unit: Object
Return Value:
Object

Examples

Example 1:
_vehicle = assignedVehicle player;

Additional Information

See also:
addVehicleassignAsDriverassignAsCargoassignAsCommanderassignAsGunnerunassignVehicle, leaveVehicle

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