Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-18-2014, 12:33 AM
rlie_0
Sarnak
 
Join Date: May 2011
Location: usa
Posts: 94
Default The missing spawn?

Hey there guys, Ive been working on this quest and got the insta spawn version to this working as intended. Just a problem with the delay aspect, and id like to ask some help! So here is the code ive worked for this spawn event.

sub EVENT_DEATH_COMPLETE {
quest::settimer("summit",10);
quest::say("I will return!");
}

sub EVENT_TIMER {
if ($timer eq "summit") {
quest::stoptimer("summit");
quest::spawn(1169,0,0,-553,-77,19.63);
}
}


Now my goal is this. Upon mobs death (as you can see) I want to start a timer, then some time later, when timer (next event) is up the mob spawns at a set location within the zone, the instal spawn version works fllawlessly, here is that below

sub EVENT_DEATH_COMPLETE {
quest::shout ("I shall return!");
quest::spawn(1169,0,0,-553,-77,19.63);
}

Anyone know what is missing from the upper quest and why the mob is failing to spawn after the timer is up?
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 06:26 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3