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
  #7  
Old 12-18-2008, 10:36 AM
Joetuul
Sarnak
 
Join Date: Oct 2008
Location: AZ
Posts: 58
Default

Well, I have narrowed it down to the line in red... whats wrong with that?


Code:
sub EVENT_DEATH
{
        if(defined($qglobals{emoush})){

                if ($qglobals{emoush} == 1)
                        {
                        quest::delglobal("emoush");
                        quest::shout("deleted");
                        quest::setglobal("emoush", 2, 5, "F");
                        quest::shout("1");
                        }
                elsif ($qglobals{emoush} == 2)
                        {
                        quest::delglobal("emoush");
                        quest::shout("deleted");
                        quest::setglobal("emoush", 3, 5, "F");
                        quest::shout("2");
                        }
                elsif ($qglobals{emoush} == 3)
                        {
                        quest::delglobal("emoush");
                        quest::setglobal("emoush", 4, 5, "F");
                        quest::shout("3");
                        quest::signal(342052, 1, 0);
                        }
               }
}
could it be something with this code for the other mob???

Code:
#Emoush_the_Destroyer
sub EVENT_SPAWN
{
	quest::setglobal("emoush", 1, 5, "F");
	quest::shout("Who has AWAKENED ME!?!?!, You shall die for interupting my slumber!");
}

sub EVENT_SIGNAL
{
        if (defined($qglobals{emoush})){

        if ($qglobals{emoush} == 4)
        {
        quest::spawn2(1230, 0, 0, -136, 1993, -3);
        quest::delglobal("emoush");
        quest::shout("depoped, respawned");
        quest::depop();
        }
        }
}

sub EVENT_DEATH
{
	quest::delglobal("emoush");
        quest::shout("global deleted");
}
__________________
~Tuul
Mithaniel Marr
http://mithmarr.power-rpg.com/
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 05:58 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