unassignVehicle

From Bohemia Interactive Community
Revision as of 12:47, 16 March 2007 by Raedor (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Unit is unassigned from the vehicle. If he is currently in, group leader will issue order to disembark. Examples: {unassignVehicle _x} forEach crew vehiclename will make all the occupants of a vehicle disembark
Groups:
Uncategorised

Syntax

Syntax:
unassignVehicle unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
unassignVehicle player

Additional Information

See also:
assignAsCargoassignAsCommanderassignAsDriverassignAsGunner

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

Posted on August 4, 2006 - 12:05
hardrock
Notes from before the conversion: Even though: {unassignVehicle _x} forEach crew vehiclename will make all the occupants of a vehicle disembark, if they are the original crew of the vehicle then they will just get back in again. To prevent this happening also use allowGetIn as in the example below: {unassignVehicle _x} forEach crew vehiclename; crew vehiclename allowGetIn false

Bottom Section