Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-22-2009, 11:20 AM
nightsta69
Hill Giant
 
Join Date: May 2005
Posts: 134
Default 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?
__________________
Server Op of Bonds of Strength(custom-Legit)
Reply With Quote
  #2  
Old 10-22-2009, 11:58 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

what is the EXACT script you are using?
Reply With Quote
  #3  
Old 10-22-2009, 12:03 PM
nightsta69
Hill Giant
 
Join Date: May 2005
Posts: 134
Default

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.
__________________
Server Op of Bonds of Strength(custom-Legit)
Reply With Quote
  #4  
Old 10-22-2009, 04:26 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

quest::SetRunning(1);

It is case sensitive.
Reply With Quote
  #5  
Old 10-22-2009, 04:51 PM
nightsta69
Hill Giant
 
Join Date: May 2005
Posts: 134
Default

that worked. thankx
__________________
Server Op of Bonds of Strength(custom-Legit)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:59 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3