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?