Code:
sub EVENT_WAYPOINT{
if(defined($qglobals{$name."ariaswalk"})){
my $walking = $qglobals{$name."ariaswalk"};
if($walking == 1){
if($wp == 2){
quest::settimer("startdoor",4.5);
quest::say("give me a moment, I think I can pick this lock.");
quest::emote("fiddles with the door lock, using what looks like a bent bobby pin.");
quest::settimer("squat",.5);
quest::setrunning(1);
}
if($wp == 7){
quest::stop();
quest::moveto(-538.7,225.6,20.5,0.8,1);
quest::signalwith(189492,1,0);
}
}
if ($walking == 2) {
if($wp == 5) {
quest::say("Damn, another locked door, give me just a moment, I think I can get this.");
quest::settimer("doortominiboss",4);
quest::settimer("squat",.5);
quest::emote("begins to fiddle with the door lock.");
}
if($wp == 8) {
quest::stop();
quest::moveto(-344.5,611.2,-10.6,254.8,1);
}
}
}
}
its part of the tutorialb i'm workin on for the server, to intro what kinda content is gonna be there, everything else works fine, just the NPC doesn't run.