Other great resources: Official JS API docs, Scripting Forum
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 27 Current »
Each object has a number of properties that defines its specific attributes. For more information, see the links below:
Note: PLAYER_DATA & RESEARCH_DATA constants were added in Warzone 3.1 Beta 11.
Droid object
Describes a droid (unit) on the map or being produced in a factory. Inherits Game object fields.
Feature object
A map feature such as a tree, log cabin, oil barrel, artefact or oil derrick, etc. Inherits Game object fields.
Structure object
A building or defence structure on the map that's owned by a human, AI or scavenger player. Inherits Game object fields.
Contains information about a specific player.
Contains information about a specific technology.
Javascript makes it easy to create custom objects and arrays – here's some useful links if you're new to Javascript:
Game objects (a.k.a "base objects"):
Data objects:
Location objects: