EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   quest::setrunning() not work? (https://www.eqemulator.org/forums/showthread.php?t=29841)

nightsta69 10-22-2009 11:20 AM

quest::setrunning() not work?
 
i'm tryin to speed up my NPC's a little bit, so I tried using quest::setrunning(1); and they are still walking, is there a different way to impliment this?

ChaosSlayerZ 10-22-2009 11:58 AM

what is the EXACT script you are using?

nightsta69 10-22-2009 12:03 PM

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.

joligario 10-22-2009 04:26 PM

quest::SetRunning(1);

It is case sensitive.

nightsta69 10-22-2009 04:51 PM

that worked. thankx


All times are GMT -4. The time now is 12:29 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.