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

Position object

Defines a position on the map via its x,y co-ordinates.

 

Properties

PropertyTypeDescriptionGame version
typeConstantPOSITION3.1
xNumberThe x co-ordinate of the position3.1
yNumberThe y co-ordinate of the position3.1

Availability

Available since:

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

Where to get them?

The following functions return objects of this type:

The following global arrays contain position objects:

See also:

You might also like:

  • Area object (AREA) – defines an area on the map
  • Map – quick reference to other map-related API features

Â