Getting an npc to attack a player.

For example, how do I get a fast zombie to run to a player and attack them?
Every time I walk away from them now they stop moving.



NPC:AddRelationship( "player D_HT 99" )
NPC.Enemy = player.GetByID( 1 )
NPC:SetEnemy( NPC.Enemy )
NPC:SetTarget( NPC.Enemy )
NPC:SetLastPosition( NPC.Enemy:GetShootPos( ) )
NPC:SetSchedule( SCHED_FORCED_GO_RUN )


I’ve tried this already, but nothing seems to work :confused:

Fixed: Had to node the map.
Someone close / remove this thread now.