Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2011, 05:43 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Yeah I just walked out of visual range of the NPC and saw that.
Reply With Quote
  #2  
Old 01-12-2011, 06:10 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

So trying this, how I check distance ?

Code:
     my @moblist = $entity_list->GetMobList();
		foreach $ent (@moblist)
		{
				 quest::shout($ent->Dist());
		}
Half expected that to work, but did not.
Reply With Quote
  #3  
Old 01-12-2011, 06:14 PM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 539
Default

Get the X, Y, Z of the entry, then use $npc->CalculateDistance(x, y, z).

Not sure where you are looking for perl objects but should check this out: http://www.eqemulator.net/wiki/wikka...a=QuestObjects
Reply With Quote
  #4  
Old 01-12-2011, 06:27 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Okay I got it, this has been crazy so far. I have some serious code checking to do now, with so much testing my code is spaghetti now.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:13 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3