deleteVehicleCrew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1.32)
No edit summary
Line 48: Line 48:
<dd class="note">
<dd class="note">
Not quite sure of the exact use of this command. You can delete AI pilot for example with <code>[[deleteVehicle]] [[driver]] heli;</code> but co-pilot will then jump out. If you use <code>heli [[deleteVehicleCrew]] [[driver]] heli;</code> co-pilot stays.  
Not quite sure of the exact use of this command. You can delete AI pilot for example with <code>[[deleteVehicle]] [[driver]] heli;</code> but co-pilot will then jump out. If you use <code>heli [[deleteVehicleCrew]] [[driver]] heli;</code> co-pilot stays.  
</dd>
</dl>
<!-- DISCONTINUE Notes -->
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on April 10, 2015 - 13:43 (UTC)</dd>
<dt class="note">[[User:Tankbuster|Tankbuster]]</dt>
<dd class="note">
Using the following code will remove ALL crew from the given vehicle.
<code>{_myvehicle deleteVehicleCrew _x} forEach crew _myvehicle;</code>
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 14:43, 10 April 2015

Hover & click on the images for description

Description

Description:
Deletes a member of the crew of a vehicle.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
heli deleteVehicleCrew driver heli;

Additional Information

See also:
createVehicleCrewmoveInDrivermoveInGunnermoveInCommandermoveInTurretmoveInCargo

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

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;