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

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-01-2012, 10:31 AM
kimura
Hill Giant
 
Join Date: Oct 2011
Posts: 132
Default Potime quest Check please?

can anyone look at this and tell me why it would work one day and then the next day, it does everything except move the PC to the locs...didnt change a thing

i think it may have to do with instanced version and default versions of potimeb...suggestions?

Code:
sub EVENT_SAY {


if ($text =~/Hail/i)
 { quest::say("How could YOU defeat ME, $name? I have no choice but to send you to the next battle! Perhaps, you will taste death soon! Which way would you like to die? [Fire], [Water], [Undead], [Air] or [Earth]?"); }

if ($text =~/Fire/i)
 {
quest::shout ("$name , go forth and DIE!!");
quest::movepc(-60,565,494); 
 }
if ($text =~/Water/i)
 {
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-60,852,494);
}
if ($text =~/Undead/i)
 {
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-33,1107,494);
}
if ($text =~/Air/i)
 {
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-54,1344,494);
}
if ($text =~/Earth/i)
 {
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-53,1630,494);
}
}

sub EVENT_SPAWN
{
	quest::settimer("depop",3600); 
}

sub EVENT_TIMER
{
	if ($timer eq "depop")
	{
		quest::depop();
	}
}
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 04:44 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