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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 09-14-2008, 09:18 AM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default

Yeah, sorry about that. I have modified this several times since I posted. Here is the Lord script with the stoptimers:

Code:
sub EVENT_SIGNAL	
	{
	quest::settimer("kneel",3);
	quest::setsky(0);
	quest::selfcast(3430);
	}

sub EVENT_TIMER
	{
	if($timer eq "kneel")
		{
		$npc->SetAppearance(4);
		quest::shout("Ah, there you are!");	
		quest::settimer("shout",3);	
		}
	if($timer eq "shout")
		{
		quest::stoptimer("kneel");
		$npc->SetAppearance(0);
		quest::shout2("My servants, hear me and rejoice! For my power and cruelty have returned to me. I now reign supreme. Join me, my minions, and together we shall destroy our enemies!");
                quest::settimer("depop",3);
		}		
if($timer eq "depop")
		{
		quest::stoptimer("shout");
		quest::setsky(1);
		quest::delglobal("king");
		quest::emote("fades into shadow");		
		quest::depop();
		}
	}
I have also tried putting the stoptimer at the end of each timer block rather than at the beginning of the next timer, but the problem persists. My latest version of the script is this:

Code:
sub EVENT_SIGNAL	
	{
	quest::settimer("kneel",3);
	quest::setsky(0);
	quest::selfcast(3430);
	}

sub EVENT_TIMER
	{
	if($timer eq "kneel")
		{
		$npc->SetAppearance(4);
		quest::shout("Ah, there you are!");	
		quest::settimer("shout",3);	
		}
	if($timer eq "shout")
		{
		quest::stoptimer("kneel");
		$npc->SetAppearance(0);
		quest::shout2("My servants, hear me and rejoice! For my power and cruelty have returned to me. I now reign supreme. Join me, my minions, and together we shall destroy our enemies!");
		quest::stoptimer("shout");
		quest::setsky(1);
		quest::delglobal("king");
		quest::emote("fades into shadow");		
		quest::depop();
		}
	}
This version seems to work since the Lord is nowhere in sight once I zone back in (I am bound at the same point in the zone where I am killed so I can check movement once back in), but by the time I zone back in, the Lord has poofed. I'd really like to fix this so that I can actually see the Lord's movements without the watcher restarting the signal script each time he leaves a waypoint.
Reply With Quote
 


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 05:13 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3