• target finder e2 chip
    5 replies, posted
im looking for an e2 chip that acts like a target finder+target locator but i only nee i to give the xyz gpd pos and distance i cant find one ne where
i have one :3
Then make 1.
[Code]@name Targetfinder @outputs X Y Z Distance @persist runOnTick(1) findInSphere(entity():pos(),50000) findClosest(owner():pos()) findIncludeClass("player") findIncludeClass("npc") findExcludePlayer(owner()) Target = findResult(1) X = Target:pos():x() Y = Target:pos():y() Z = Target:pos():z() Distance = entity():pos():distance(Target:pos()) [/code] that should do it. Edit: Changed findInSphere(owner():pos(),50000) to findInSphere(entity():pos(),50000), don't know how that got by...
but how do you use your code?
findInSphere oh god no
Sorry, you need to Log In to post a reply to this thread.