Perceptual melee radar

Jump to navigation Jump to search
Revision as of 11 May 2012 at 17:57.
The highlighted comment was created in this revision.

Perceptual melee radar

I tried building a perceptual bot a while ago. The hardest problem I found was how to make a melee radar without storing any data and without accessing getScannedRobotEvents().

A second radar event in the same tick overrides the first and the bot keeps changing targets. Didn´t find how to overcome this problem yet.

    MN18:00, 11 May 2012

    Not sure if this is what you are looking for, but you can use clearAllEvents() within the onScannedRobot(..) function. This clears all remaining scan events.

      Wompi18:57, 11 May 2012