Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-04-2005, 03:43 AM
Richardo
Banned
 
Join Date: Oct 2003
Location: Mattmecks Basement
Posts: 546
Default

sub EVENT_SPAWN
{

This works very well and I use it a lot in my server, basically to explain it..
Whenever a mob spawns, you can make him do something, for example, set off a timer or signal another NPC, I will show you below.

Code:
sub EVENT_SPAWN
{
quest::shout("I have spawned!");
quest::signal(152);
quest::settimer("a", 200);
quest::settimer("b", 400);
quest::settimer("c", 600);
}

sub EVENT_TIMER
{
if($timer == a)
        {
         quest::stoptimer("a");
         quest::shout("Timer A Complete!");
}
if($timer == b)
         {
         quest::stoptimer("b");
         quest::shout("Timer B Complete!");
}
if($timer == c)
         {
          quest::stoptimer("c");
          quest::shout("Timer C Complete!");
}
}
That is just a random example with what you can do with spawn... Hope my information helped, also..

sub EVENT_ENTER, I have no idea what this does if it even does work...
Edit:

I did some research for you and found that Fathernitwit had added these, shown in the change log below.

Quote:
FatherNitwit: Proximity quests: added events: EVENT_ENTER, EVENT_EXIT
FatherNitWit wrote a tutorial on Proximity quests, here is the link



FatherNitWits Proximity Tutorial

Note: All I did was type EVENT_ENTER in the search window and it took me to this, just a little insight in the future, try using search first Ofcourse there is never any harm in asking though

Last edited by Lexen1; 05-04-2005 at 11:55 AM..
Reply With Quote
 


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 10:28 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