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-25-2007, 04:39 PM
JrFaust
Sarnak
 
Join Date: Aug 2005
Location: Overthere
Posts: 82
Default

The mobid that is it be summoned could just be spawned near where the original mob is like this.

I haven't tested this exact code but I've done similar code that works like this, it should work.


Code:
elsif ($itemcount {24075} && $itemcount {22056} == 1) {
  my $x = $npc->GetX();
  my $y = $npc->GetY();
  my $z = $npc->GetZ();
  my $h = $npc->GetH(); #I don't know if this works to get the heading.
  quest::say ("Ha.");
  quest::spawn2 (12032,0,0,$x - 5,$y - 5,$z,$h);
  quest::castspell (1771,$12032);
  quest::depop();

Last edited by JrFaust; 01-26-2007 at 12:47 AM..
Reply With Quote
  #2  
Old 01-25-2007, 07:15 PM
solid11's Avatar
solid11
Discordant
 
Join Date: Dec 2004
Posts: 266
Default

Well, JrFaust, you sir are a life saver. Worked like a charm and we now have a fully functional rogue epic quest complete.
__________________
Reply With Quote
  #3  
Old 01-26-2007, 07:00 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Awesome, congrats solid.
Reply With Quote
  #4  
Old 01-26-2007, 09:06 AM
JrFaust
Sarnak
 
Join Date: Aug 2005
Location: Overthere
Posts: 82
Default

Quote:
Originally Posted by solid11
Well, JrFaust, you sir are a life saver.
Hehe thanks but since I usually play a necro I don't know if that is always true.

But I'm glad I could help.

Later,
Rob
Reply With Quote
Reply


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 06:27 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