Author Topic: refxpos and refypos are 0,0 when looking at DNA-execution-disabled bots/veggies  (Read 2263 times)

Offline Trafalgar

  • Bot Destroyer
  • ***
  • Posts: 122
    • View Profile
In short, things with DNA execution disabled have 0,0 for xpos,ypos, which results in refxpos, refypos being 0,0 when looking at them. Bots using "*.refxpos *.refypos angle .setaim store" for aiming go wonky* when they see a bot/veggie with disabled DNA execution.

(My workaround are to only do setaim aiming if both refxpos and refypos are >0)

* = Specifically, they turn to face 0,0.