EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Completed (https://www.eqemulator.org/forums/forumdisplay.php?f=633)
-   -   NPC gives 30 seconds then chases you Quest (https://www.eqemulator.org/forums/showthread.php?t=23170)

GeorgeS 07-18-2007 12:43 AM

NPC gives 30 seconds then chases you Quest
 
Npc will give you 30 seconds after you hail him then chases you down.
GeorgeS

sub EVENT_SAY
{
my $x;
my $y;
my $z;
my $h;

$x = $npc->GetX();
$y = $npc->GetY();
$z = $npc->GetZ();
$h = $npc->GetHeading();

if ($text = ~/Hail/i)
{
quest::shout("It is YOU that $race that pillages our village! I am giving you 30 seconds to run before I hunt thee down with my axe!");
quest::settimer("attck",30);
}

}

sub EVENT_TIMER
{
if ($timer eq "attck")
{
quest::shout("The sound of my Axe on your Skull will be heard for miles!");
quest::stoptimer("attck");
quest::attack($name);
}
}


All times are GMT -4. The time now is 01:24 AM.

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