@name Stalker Slaves
@inputs 
@outputs 
@persist NPC:array
@trigger 
interval(1000)

Stalk="npc_stalker"
findInSphere(owner():pos(),10000)
findIncludeClass(Stalk)
NPC=findToArray()
H="hate"
L="like"

Combine="npc_combine_s"
Zombie="npc_zombie"
FastZombie="npc_fastzombie"
Hunter="npc_hunter"
Zombine="npc_zombine"
Hack="npc_manhack"
Cam="npc_cscanner"
Poison="npc_poisonzombie"
Crab="npc_headcrab"
PCrab="npc_headcrab_poison"
FCrab="npc_headcrab_fast"

for(C=1,NPC:count()){
    NPC[C,entity]:npcRelationship(Combine,H,70)
    NPC[C,entity]:npcRelationship(Zombie,H,20)
    NPC[C,entity]:npcRelationship(FastZombie,H,50)
    NPC[C,entity]:npcRelationship(Hunter,H,90)
    NPC[C,entity]:npcRelationship(Zombine,H,40)
    NPC[C,entity]:npcRelationship(Crab,H,30)
    NPC[C,entity]:npcRelationship(FCrab,H,30)
    NPC[C,entity]:npcRelationship(PCrab,H,30)
    NPC[C,entity]:npcRelationship(Hack,H,80)
    NPC[C,entity]:npcRelationship(Cam,H,30)
    NPC[C,entity]:npcRelationship(Poison,H,40)
}
