Other great resources: Official JS API docs, Scripting Forum

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

ParameterTypeMandatoryNotesGame Version
structureObjStructure object(tick)The structure to remove.3.1

Return value

(question)

Example

None at present.

Deprecated – use removeObject() in Warzone 3.2+
Availability OBSOLETE

Requires:

  • Warzone 3.1
  • Deprecated in Warzone 3.2
Contents

Jump to:

See also

Related articles:

 

  • No labels