@name All NPCs love me
@inputs 
@outputs C Count
@persist E:array C
@trigger all
@model models/props_junk/PopCan01a.mdl
interval(100)
O=entity():owner()
findInSphere(entity():pos(),3000)
#findIncludeClass("npc_turret")
findIncludeClass("npc")
E=findToArray()
Count=E:count()
C=1
Safe=O
while((C<=Count)&perf()){
    #E[C,entity]:npcRelationship("player","like",99)
    E[C,entity]:npcRelationship(O,"like",99)
    if(E[C,entity]:npcGetTarget()==Safe){E[C,entity]:npcSetTarget(noentity())}
    #print(O:npcDisp(E:entity(C)))
    C++
}

