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");
}