deleteVehicleCrew: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Fix examples and clean comments) |
Lou Montana (talk | contribs) m (Fix KK's comment format (for small screens)) |
||
Line 42: | Line 42: | ||
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt> | <dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
If you delete the AI pilot with {{Inline code|[[deleteVehicle]] [[driver]] heli}} the co-pilot will jump out.<br> | |||
If you delete the AI pilot with {{Inline code|heli [[deleteVehicleCrew]] [[driver]] heli}} the co-pilot will stay. | |||
{{ | |||
{{ | |||
</dd> | </dd> | ||
Revision as of 13:44, 19 December 2019
Description
- Description:
- Deletes a member of the crew of a vehicle. Human players cannot be deleted.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle deleteVehicleCrew unit
- Parameters:
- vehicle: Object
- unit: Object
- Return Value:
- Nothing
Examples
- Example 1:
_helicopter deleteVehicleCrew driver _helicopter;
- Example 2:
{ _helicopter deleteVehicleCrew _x } forEach crew _helicopter; // deletes all crew
Additional Information
- See also:
- createVehicleCrewmoveInDrivermoveInGunnermoveInCommandermoveInTurretmoveInCargo Deleted EH
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 31, 2014 - 10:15 (UTC)
- Killzone Kid
-
If you delete the AI pilot with
deleteVehicle driver heli
the co-pilot will jump out.
If you delete the AI pilot withheli deleteVehicleCrew driver heli
the co-pilot will stay.