Thread
:
I'm stumped - can't seem to get $target or $npc with player event say
View Single Post
#
2
12-30-2012, 02:39 PM
c0ncrete
Dragon
Join Date: Dec 2009
Posts: 719
i'd start by testing the return value of GetTarget(). this should evaluate to true if you've got anything targeted:
Code:
ref($client->GetTarget()) =~ /Mob/i
if it's false, then GetTarget() isn't returning a Mob object
c0ncrete
View Public Profile
Send a private message to c0ncrete
Find all posts by c0ncrete