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

enumRange.js

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

 

(warning) enumRange()

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

Notes:

  • 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 enumRange() as it has to do several enumDroid() and enumStruct() calls.

Warzone 3.2:

Native function used for full performance.