Hammer Editor npc attack


Apologies if I am posting this in the wrong place it is the first time I have used this forum.

I am making a map on Hammer editor and when I use and npc (zombie for example) it stands there and does notattack the player. How can I make it attack the player?

Thanks :slight_smile:

Have you noded the map?

Thanks I will try that :slight_smile:

Created an Info_node in entities.

Is there a way of just making them attack the player when he goes near the npc?

Look at ai_relationship.

Create an ai_scriptedshedule entity with apropriate values.