EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Do these really work?? (https://www.eqemulator.org/forums/showthread.php?t=18472)

Sakrateri 05-03-2005 10:11 PM

Do these really work??
 
Sub EVENT_SPAWN{
Crashes the zones , they will not load with this event , anyone able to get it to work??

sub EVENT_ENTER{
tried to use it serveral different ways and it seems to do nothing , anyone get that one to work?

Richardo 05-04-2005 03:43 AM

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

Sakrateri 05-04-2005 04:03 AM

Thanks alot for the info , I didnt search because I knew there was posts about sub EVENT_SPAWN but not about weither it works or not .

No matter how I use it it just crashes my zone.exe I am using 6.0DR3

here is the code I used and the zone just kept crashing

I will try it the wat Fathernitwit said and sees what happens , thanks

Sakrateri 05-04-2005 04:13 AM

Ok , i just tried it exactly like the one you wrote and copied and pasted fathernitwits , Zone still crashes

thanks for trying though

Sakrateri 05-05-2005 08:53 PM

Does anyone have any idea why my zone crashes when I use sub EVENT_SPAWN ???or if there is ANYWHERE I can get 6.0 DR3 source files???


All times are GMT -4. The time now is 12:36 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.