deleteVehicleCrew

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.32
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.32

Description

Description:
Deletes a member of the crew of a vehicle. Human players cannot be deleted.

Syntax

Syntax:
vehicle deleteVehicleCrew unit
Parameters:
vehicle: Object
unit: Object
Return Value:
Nothing

Examples

Example 1:
heli deleteVehicleCrew driver heli;

Additional Information

Multiplayer:
-
See also:
createVehicleCrewmoveInDrivermoveInGunnermoveInCommandermoveInTurretmoveInCargo

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on August 31, 2014 - 10:15 (UTC)
Killzone Kid
Not quite sure of the exact use of this command. You can delete AI pilot for example with deleteVehicle driver heli; but co-pilot will then jump out. If you use heli deleteVehicleCrew driver heli; co-pilot stays.
Posted on April 10, 2015 - 13:43 (UTC)
Tankbuster
Using the following code will remove ALL crew from the given vehicle. {_myvehicle deleteVehicleCrew _x} forEach crew _myvehicle;