(info) Other great resources: Official JS API docs, Scripting Forum

Data objects

These objects relate to players and game config ("stats")...

 

Overview

The following objects are in this category:

ObjectNotesRelated featuresAvailability
Group Object

Information about a group defined in labels.ini.

The .type of this object is GROUP.

getObject()

enumGroup()

3.2+
Player object

Information about a specific player in the game, with the exception of scavenger faction (scavengers don't have a player object).

Lots of extra properties were added in Warzone 3.2.

The .type of this object is PLAYER_DATA.

playerData[]

3.1 B1+

Research object

Information about a technology and it's current research status.

The .type of this object is RESEARCH_DATA.

findResearch()

enumResearch()

eventResearched()

3.1 B1+
Template Object

Information about a droid template, but in a somewhat odd form which I have a hunch may change considerably in future.

There is currently no .type property on these objects.

enumTemplates()

makeTemplate()

eventDesignCreated()

3.2+
Weapon Object

Static information about a weapon turret such as it's damage and rate of fire.

You can find out what weapons a droid or structure has, and variable information such as when they last fired and reload state, from the .weapons[] property of Droid objects and Structure objects.

There is currently no .type property on these objects.

getWeaponInfo()3.2+

Data Objects

Object specifications:

  • Group ObjectA group of Game objects...
  • Player objectSpecifies useful static information about a specific player in the game.
  • Research objectDescribes various attributes related to a specific researchable technology.
  • Template ObjectAn object describing a droid template...
  • Weapon ObjectAn object describing a weapon turret...