View Single Post
  #8  
Old 01-31-2010, 03:08 AM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

Trying to get this stuff to work with Sub Event Enter.. And can not..

Here is what i have based off what you posted but it simply will not work...

What am I doing wrong??

Code:
sub EVENT_SPAWN {
	my $x = $npc->GetX();
	my $y = $npc->GetY();
	my $range = 12;
	quest::set_proximity($x - $range, $x + $range, $y - $range, $y + $range);

}

sub EVENT_POPUPRESPONSE {

        quest::say("Popup response");
        if($popupid eq "10") {
	 quest::movepc(176,1900.0,-474.8,24.75);
		}  

}

sub EVENT_ENTER {
    
    quest::popup("Test Popup", "Test popup with ID 10", 10);
  }
}
Reply With Quote