NPC keeps trying to hit obstacle off screen (while ignoring enemies)

Majestic Menace

New member
After add some NPCs on my game they keep trying to hit obstacle off screen while ignoring current enemies on screen (visible screen)

Basically the NPC stays in the corner of the screen walking towards the obstacle (which is on the outside of the screen)
He stays there while ignoring the enemies around him.

It's like "You (player) fuck off facing the enemies while I stay here quietly in my corner" 😂

I tried to change the "offscreenkill" line. In the game I modified it had 9999999 value, so I put a # in front but it had no effect. No changes.

Another thing I tried to do was to put only "hostile enemy" in the NPC file and not "hostile enemy obstacle".
The NPC in this case should not be chasing obstacles, but only enemies. But it also had no effect.

Any idea?
 
Back
Top Bottom