View Single Post
  #10  
Old 08-03-2009, 12:18 AM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Okay, the following part is not working:

Code:
sub EVENT_WAYPOINT 
	{
 	if (($x == $ZoneOutX) && ($y == $ZoneOutY)) 
		{
    		quest::stop();
		quest::delglobal("wanderer");
   		quest::setglobal("wanderer",2,7,"F");
    		quest::depop();
  		}
	}
The npc is not responding to anything in this event. I assumed I should change the previously defined ZoneOuts from 1111 to the actual xy coords of the final waypoint, like so:

my $ZoneOutX = -15972.6;
my $ZoneOutY = 632.1;

Is this correct?
Reply With Quote