(info) This AI is still in early stages of development.

enumArea.js

Provides enumArea() function on Warzone 3.1 branch...

 

(warning) enumArea()

Use this function exactly as you would on Warzone 3.2: enumArea()

Notes:

  • Supports all three syntaxes (label, AREA object, and bounds co-ordinates)
  • On Warzone 3.1 performance is degraded – it has to use multiple enumDroid() and enumStruct() calls
  • Filtering to ENEMIES or ALLIES will be faster as it reduces number of players and also skips feature objects.
  • On Warzone 3.2 the native function is used for maximum performance
Availability 3.1 B1+

Requires:

Reliability

Warzone 3.1:

May miss some structures for players that are deemed "dead" according to standard game rules, but on the whole very reliable.

Warzone 3.2:

Uses native function for full reliability.

Performance

Warzone 3.1:

Much slower than native enumArea() as it has to do several enumDroid() and enumStruct() calls.

Warzone 3.2:

Native function used for full performance.