I thought this would work:
hh = self.findByType("headhunter")
But it didn’t work for targetting the headhunter. Like, while hh.health > 0 and all that jazz. I had to do this, then it worked fine:
for enemy in self.findEnemies(): if enemy.type == "headhunter": hh = enemy
Is there a bug with findByType or am I not doing it right?