warzone 3.2 or above
gets a list of objects within a specific range of a map location
var returnValue = enumRange(x,y,range,player)
player can be id or things like ENEMIES, ALLIES, etc.
range is in tiles
Other great resources: Official JS API docs, Scripting Forum
warzone 3.2 or above
gets a list of objects within a specific range of a map location
var returnValue = enumRange(x,y,range,player)
player can be id or things like ENEMIES, ALLIES, etc.
range is in tiles