Hi, I was wondering if the AI interface (specifically the Java interface), had a callback for when an enemy unit enters a given units range (either reclaim or attack). I know this event happens internally (for instance, when an enemy enters the range of a LLT, it fires on the enemy), but it would be cool to program an AI where builders automatically reclaim nearby enemies. Specifically, this would make sense for nano towers, since you would want them to reclaim nearby enemies. Any idea how to achieve this behavior?
If an enemy unit is not in LOS then the information should not be available anyway, thus the events would be pointless, as it would require a set of calculations be done. The whole point of the events is to avoid these calculations, but if they're done anyway then that defeats the point
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum