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-20-2006, 09:07 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by Angelox
You have to start with one spawn from the database in order to start the loop. In my case, I used a goblin raider. Set him to only spawn one time only (respawn: 0), as his death will start the loop, and you don't want any more cycles off the same loop.
This does not work - so far , with everything I have tried , I can't seem to get one mob to spawn and not respawn again. what I do for now, is go in the zone and GM spawn the first mob in the loop.
Reply With Quote
  #2  
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
  #3  
Old 07-22-2006, 01:21 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Can't edit my last post anymore, so this should read
if ($bdied==1) #traitor died once
instead of
if ($bdied=~ /1/) #traitor died once

They both work, only if ($bdied=~ /1/) probably not proper, and might create a future problem.
Reply With Quote
Reply

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 02:07 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