Thread: Dark Ascension
View Single Post
  #1  
Old 09-07-2010, 02:17 AM
Abacab niggah Abacab niggah is offline
Banned


Join Date: Aug 2010
Posts: 75
Default

Stupid shit like this can be solved with one simple script of my design

# After getting close to the NPC, NPC will shout something
sub EVENT_SPAWN
{
my $x;
my $y;
my $z;
my $h;

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

quest::set_proximity( $x-40,$x+40,$y-40,$y+40,$z-40,$z+40);
}

sub EVENT_ENTER
{
quest::say ("WARNING! You are now entering a contested area, you will now be flagged player kill!");
quest:[You must be logged in to view images. Log in or Register.]vp("On");
}

sub EVENT_EXIT