Deletes an object. Only units in the OME / RTE can be deleted by this command. Island objects and player units cannot be removed. Before deleting a unit that is inside a vehicle, the unit should be Eject first.
Deleting a unit does not automatically delete the group the unit belongs to, even if the unit is the last member of the group. The group has to be deleted manually using deleteGroup. Groups that are not deleted may degrade performance.
|See also:||createUnit, createVehicleLocal, createVehicle|
|Multiplayer:||A deleted player unit stays visible, until that player gets disconnected.|