@name Triple Player Finder
@inputs PlayerKill
@outputs P1:entity P2:entity P3:entity Pid1 Pid2 Pid3
@persist Players:array
interval(100)
entity():setColor(0,140,255)
gSetGroup("Finder")
gSetNum("Kill",PlayerKill)

if (PlayerKill) {
#interval(findUpdateRate()*10)

Owner = entity():owner():pos()
findInSphere(Owner,1000000)
findSortByDistance(Owner)
findIncludeClass("player")
findIncludePlayer("*")
findExcludePlayer(entity():owner())
Players=findToArray()
#findExcludePlayer("Captain Maim")
#findExcludePlayer("Polymorph")
#findExcludePlayer("Muerte")
#findExcludePlayer("Froggotten_One")

P1 = findResult(1) 
P2 = findResult(2)
P3 = findResult(3)
Pid1 = P1:id()# * P1:isAlive()
Pid2 = P2:id()# * P2:isAlive()
Pid3 = P3:id()# * P3:isAlive()
} else {Pid1 = 0 Pid2 = 0 Pid3 = 0}









