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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 07-21-2006, 03:05 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default Trigger mob fix for cycle start

This is a "trigger" mob for all the 3-corner cycles in frontiermtns- once he spawns the first mob in the cycle, he will not respawn them anymore on dieing. The mobs in the cycle (posted above) will continue to spawn each other as they are killed. Probably can make this guy aggro npc's so he can get him self killed and start off the cycles.

Code:
# 3 corners trigger mob, goblin traitor, for all loops
# EOF zone: frontiermtns
# Illomen zone

sub EVENT_DEATH
{
 my $a=92015;  #goblin raider, starts spawn1 cycle
 my $b=92067;  #goblin traitor, trigger mob
 if ($bdied=~ /1/) #traitor died once
 {
 quest::say("I already died once!");
 }
 else
 {
  quest::say("Spawning goblin raider by Nurga");
  quest::spawn2($a,0,0,-612,-2830,-478.75,122);
  $bdied=1; #mark traitor died once
 }
}
Reply With Quote
 

Thread Tools
Display Modes

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 09:21 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