-
Jig
- Posts: 13
- Joined: Tue Apr 23, 2013 4:14 pm
#1
Post
by Jig » 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
Code: Select all
local target = player:getTarget();
target:updateBuffs()
if target:hasBuff("buffname") then
I just figured out how to scan my local player - someone have an idea?
greetings,
jig
-
wps
- Posts: 74
- Joined: Tue Feb 05, 2013 11:11 am
#2
Post
by wps » Sat Apr 27, 2013 8:03 pm
You could refer to lisa's userfunction_gmmonitor.lua
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#3
Post
by lisa » Sat Apr 27, 2013 8:22 pm
check out this topic by xplar, I believe it is what you are after.
http://www.solarstrike.net/phpBB3/viewt ... siege+buff
the code posted will use the skills in your profile, so no need to actually specify a skill int he coding but just make sure your profile is correct.
-
Jig
- Posts: 13
- Joined: Tue Apr 23, 2013 4:14 pm
#4
Post
by Jig » Sun Apr 28, 2013 3:38 am
Thank you very much lisa and wps.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests