This AI is still in early stages of development.
enumArea.js
Owned by Aubergine
Provides enumArea() function on Warzone 3.1 branch...
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:
- Warzone 3.1 Beta 1 or above
- GO32 API
- Cache API
- Players API
- getObject.js
- DROID_ANY.js
- PlayerScope.js
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.