Difference between revisions of "deleteVehicle"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 83875 by SnowSoldier8791 (talk)hi SnowSoldier8791, unit is included in object, unnecessary for an additional clarification.)
Line 55: Line 55:
 
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]
 
<!-- CONTINUE Notes -->
 
<dl class="command_description">
 
<dd class="notedate">Posted on September 16, 2014 - 06:00 (UTC)</dd>
 
<dt class="note">[[User:SnowSoldier8791|SnowSoldier8791]]</dt>
 
<dd class="note">
 
I have verified that this command will delete a Unit/Soldier, provided you name said Unit/Soldier.
 
</dd>
 
</dl>
 
<!-- DISCONTINUE Notes -->
 

Revision as of 09:36, 16 September 2014

Introduced with Operation Flashpoint version 1.341.34Arguments 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
Hover & click on the images for descriptions

Description

Description:
Deletes an object.
Only units inserted in the mission editor and units created during the game's progress can be deleted by this command. Island objects and player units cannot be removed.
Deleting a vehicle, which is still being accessed by a running script, can result in a CTD.
Multiplayer:
A deleted player unit will stay visible until that player has disconnected.

Syntax

Syntax:
deleteVehicle object
Parameters:
object: Object
Return Value:
Nothing

Examples

Example 1:
deleteVehicle _house1;
Example 2:
{ _x action ["Eject", car]; } forEach crew car; deleteVehicle car;

Additional Information

See also:
createUnitcreateUnit arraycreateVehicle arraycreateVehicleLocalcreateVehicle
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section