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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-11-2010, 09:49 PM
merb
Sarnak
 
Join Date: Jul 2005
Location: Ohio
Posts: 72
Default God Event Help

So basically in Tower of Solusek Ro, I'm trying to have an event in which 5 mini bosses are killed, an item is crafted, and handed to an NPC named Kallorax the Traitor. Upon handing him the item, an emote should go off and Kallorax shouts and this sets a timer. After the timer runs down, another mob (the god mob) spawns, sets a timer, and after the timer runs down, he shouts and then attacks Kallorax.

My problems are as follows:

* I can't get the god mob to stay despawned (so that Kallorax can spawn him, but he isn't spawned until then).

* I can't get Kallorax to spawn the mob if I manually depop the god.

* If I force spawn the god mob, I can't get him to shout or attack Kallorax when the timer runs down.

Here are the quest files for both of the mobs:

Kallorax_the_Traitor.pl
Code:
sub EVENT_SAY {

 if($text=~/hail/i) {
  quest::say("Who are you? You have no business being here!");
 }
 if ($text=~/help/i) {
  quest::say("With your help, Mithras, the true Sun God, will rise again and smite his son
  so that his creations may live in peace, as we had before! The ritual is nearly complete,
  but I need a few more [things] before I can begin the summoning process.");
 }
 if ($text=~/things/i) {
  quest::say("There are several creatures that Sathrim has created, the new champions that
  slew Mithras' champions. Each of Mithras' champions carried a piece of a torch which was
  what lit the worlds below. Now that Sathrim's champions hold this torch, Mithras can do
  nothing but watch as his own son uses his very power to destroy the world you know. Take
  this assembly kit and gather the torch pieces, then return it to me and I shall summon
  my lord!");
  quest::summonitem("13002");
 }
}

sub EVENT_ITEM {

 if ($itemcount{25631} == 1) {
  quest::emote("stares at you blankly. 'So Hyrgam has met Sathrim at last. Very well, then
  you will [help] me with my ritual.'");
 }
 if ($itemcount{16546} == 1) {
  quest::emote("stares in disbelief. 'I cannot believe you've crafted the torch! We must
  begin the ritual quickly before Sathrim notices.'");
  quest::shout("Mithras, our true father, I beg of you to return and save us from your son!");
  quest::me("The room grows hotter as the lava pit bubbles and becomes unstable.");
  quest::settimer("sun", 10);
 }
}

sub EVENT_TIMER {

 if ($timer == "sun") {
  quest::me("The lava pit shoots upward, revealing a new form as it melts back in to the pit.");
  quest::spawn("999354, 0, 0 -2.1, -2492.1, -795.4, 126.7");
  quest::stoptimer("sun");
 }
}
Mithras,_God_of_the_Sun
Code:
sub EVENT_SPAWN {

 quest::settimer("shout",5);
 }
}

sub EVENT_TIMER {

 if ($timer eq "shout") {
  quest::shout("Kallorax you have awakened me, and for what? To slay my own son? No, he hasn't
  corrupted anyone, ruined any lands, and he has banished you because his word is mine. You truly
  are a heretic in his eyes as well as mine! Now suffer!");
  quest::attacknpc(Kallorax_the_Traitor000);
 }
}

sub EVENT_DEATH {

 quest::shout("My own son, I can see, but at the hand of mortals, I should not have fallen.");
 }
}
--------

Any help would be greatly appreciated.
__________________
Building Server
Legends of Time - Full Custom/Legit Roleplay, need devs
Reply With Quote
 


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 01:54 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