View Single Post
  #10  
Old 10-23-2009, 09:18 PM
Wesell
Sarnak
 
Join Date: Mar 2009
Location: none
Posts: 30
Default

Try calling GetX and GetY on the mob returned by GetMobByNPCTypeID instead of on the ID returned by GetID.

Code:
my $revoltldrID = 189490;
my $ldrMob = $entity_list->GetMobByNpcTypeID($revoltldrID);
my $ldrX = $ldrMob->GetX();
my $ldrY = $ldrMob->GetY();
Reply With Quote