View Single Post
  #2  
Old 01-08-2009, 09:12 AM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default

Click here . The problem is not confined to Gates; it also impacts some old-world zones like West Commons -> Kithicor, and East Karana -> Beholder.

For those cases, I have set up an invisible NPC just before the zone line that catches players entering the proximity and zones them to the right target zone (via a quest function):

Code:
##Transporter script
sub EVENT_SPAWN
	{
	$x = $npc->GetX();
	$y = $npc->GetY();
	quest::set_proximity($x - 90, $x + 90, $y - 90, $y + 90);
	}

sub EVENT_ENTER
	{
	quest::movepc(zone_id,x,y,z);
	}
Reply With Quote