Other great resources: Official JS API docs, Scripting Forum
removeStruct()
Immediately remove a structure object from the map...
Syntax
if (typeof removeObject == "function") { // use new method
removeObject(structureObj);
} else { // use old method
removeStructure(structureObj);
}Parameters
Parameter | Type | Mandatory | Notes | Game Version |
|---|---|---|---|---|
structureObj | The structure to remove. | 3.1 |
Return value
Example
None at present.