Other great resources: Official JS API docs, Scripting Forum
removeObject(obj[, effect]);
Should the destruction effect be played?
true
false
Default: false
?
This function is useful during Player Initialisation when applying baseType setting.
In Warzone 3.1, use removeStruct() to destroy structure objects or DORDER_DESTRUCT to destroy droids.
removeObject(someObject); // no special effect removeObject(someOtherObject, true); // show it blowing up
Requires:
Earlier versions:
Jump to: