View Single Post
  #5  
Old 12-14-2006, 03:26 PM
JrFaust
Sarnak
 
Join Date: Aug 2005
Location: Overthere
Posts: 82
Default

I just tested the code below and that works just as I wanted thank you Angelox and Cripp.
Code:
sub EVENT_SPAWN
{
	$x = $npc->GetX();
	$y = $npc->GetY();
	$z = $npc->GetZ();
	quest::set_proximity($x - 30, $x + 30, $y - 30, $y + 30, $z - 30, $z + 30);
}
Reply With Quote