I'm not sure exactly how to do this. I did some looking around and tried a few things but none so far seemed to work. Still trying to get the hang of writting these perl quests.
I am trying to get a NPC to spawn in another zone on a grid when an NPC in another zone hits a certain waypoint in another zone.
This is what I got so far from reading but not sure what the missing component is.
Code:
sub EVENT_WAYPOINT_ARRIVE {
if ($wp==32) {
(not sure what goes here, thought maybe quest::spawn() but doesn't work)
}
}
Thanks
~Edit~
Ok found a couple of posts. Looks like it has something to with globals but don't understand how globals work or how to set one up.
~Edit~
Just for additional information. Both zones are static. Both NPC are up and on on grids I completed. The one npc which is suppose to trigger the one is suppose to stay up and moves on a circular grid. The other one is not suppose to be up until it's triggered.