unassignVehicle

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.00

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Person is unassigned from the vehicle.

If he is currently in, group leader will issue order to disembark.

Syntax

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

Examples

Example 1:
unassignVehicle player
Example 2:
{unassignVehicle _x} forEach crew _vehiclename Will make all the occupants of a vehicle disembark

Additional Information

Multiplayer:
Behaviour unknown.
See also:
assignAsCargo, assignAsCommander, assignAsDriver, assignAsGunner

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

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

Personal tools
Buy ArmA now!