Remove a game object from the map... |
removeObject(obj[, effect]); |
Paramter | Type | Mandatory | Notes | Game version |
---|---|---|---|---|
obj | Game object | The object to remove. | 3.2 | |
effect | Boolean | Should the destruction effect be played?
Default: | 3.2 |
?
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 |
AvailabilityRequires:
Earlier versions:
|
ContentsJump to: |