Scan for other players, when near then do x
Posted: Sat Apr 27, 2013 11:01 am
hello,
i want to scan for nearby players and when they are near then i want to buff them with skill x or do action y.
I dont know where to start to search for the other players
I just figured out how to scan my local player - someone have an idea? 
greetings,
jig
i want to scan for nearby players and when they are near then i want to buff them with skill x or do action y.
I dont know where to start to search for the other players
Code: Select all
local target = player:getTarget();
target:updateBuffs()
if target:hasBuff("buffname") then
greetings,
jig