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

Area object

Specifies the top-left and bottom-right co-ordinates of an area of the map.

 

Properties

PropertyTypeDescriptionGame version
typeConstantAREA3.1 Alpha
xNumberThe x co-ordinate of the top-left corner of the area3.1 Alpha
yNumberThe y co-ordinate of the top-left corner of the area3.1 Alpha
x2NumberThe x co-ordinate of the bottom-right corner of the area3.1 Alpha
y2NumberThe y co-ordinate of the bottom-right corner of the area3.1 Alpha

Availability

This type of object was introduced in:

  • Warzone 3.1 early alpha releases
  • The .type property was more widely introduced in Warzone 3.1 Beta 11 and later versions

Where to get them?

Area objects are returned by the following functions:

See also

You might also like: