assignedVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added: SEE ALSO.)
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addVehicle]], [[assignAsDriver]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsGunner]], [[unassignVehicle]] |= See also
| [[addVehicle]], [[assignAsDriver]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsGunner]], [[unassignVehicle]], [[assignedVehicle]], [[unassignVehicle]], [[leaveVehicle]] |= See also


}}
}}

Revision as of 05:25, 18 October 2012

-wrong parameter ("Arma") defined!-1.05
Hover & click on the images for description

Description

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

Syntax

Syntax:
Object = assignedVehicle unitName
Parameters:
unitName: Object
Return Value:
Object

Examples

Example 1:
_vehicle= assignedVehicle player

Additional Information

See also:
addVehicleassignAsDriverassignAsCargoassignAsCommanderassignAsGunnerunassignVehicleassignedVehicleunassignVehicleleaveVehicle

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