Update #7 Now with better AI

I have to rewrite the state machine of my sidekick (Purple lad)

Yes he is missing most of the time!

Yes he is not checking line of sight (yet)!

But he is much clever now and it took only 2 endless while() loops to get here. He is realiable selecting closest target and switch target after its target is dead.

And here is the gif!