deleteVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(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

Hover & click on the images for description

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.
Groups:
Uncategorised

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

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