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( ) )

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

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