Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Submissions

Quests::Submissions This is where you submit your quests for review

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2006, 03:50 PM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default Doomshade Raid Event

Here is my submission for the spawning of Doomshade in Umbral Plains.

A_Dark_Master.pl
Code:
# Doomshade event

my $counter = 0;

sub EVENT_SPAWN {
  $counter += 1;
  
  if ($counter == 4) {
     quest::settimer("chant",1800);
     quest::emote("begins to chant to the coming of doom");
  }
  
  my $depop = $entity_list->GetMobByNpcTypeID(176088);
  if ($depop) {
     my $depopdoomshade = $depop->CastToNPC();
     $depopdoomshade->Depop();
  }
}

sub EVENT_TIMER {
   if ($timer eq "chant") {
      quest::emote("begins to chant to the coming of doom");
   }
}

sub EVENT_DEATH {
   $counter -= 1;
   if ($counter == 0) {
      quest::spawn2(176088,0,0,119.2,-282.6, -0.2, 360);
      quest::stoptimer("chant");
   }
}

# zone: umbral ID: 176042 NPC: A_Dark_Master
#Doomshade.pl
Code:
# Doomshade event

sub EVENT_SPAWN {
  quest::me("a tortured scream echos thru the lands as a cursed soul is released");
}

# zone: umbral ID: 176088 NPC: #Doomshade
FYI... Please note that the emotes aren't precisley correct. When doomshade spawns there is suppose to be a zone wide emote that isn't suppose to come from any NPC, so I used a quest::me(), but that appears to work excatly like a quest::say()

Anyway, enjoy it.
Reply With Quote
  #2  
Old 07-08-2006, 11:45 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

It would be best to post quests on the PEQ forums so they can be added to the PEQ quest pack. If your going to be writting many quests, you should ask to join the PEQ quest team, it makes a lot of things easier.
Reply With Quote
  #3  
Old 07-08-2006, 04:25 PM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

Ok will do.
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 07:59 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3