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
  #7  
Old 04-22-2011, 11:27 AM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default

Thx for input guys.. =) The quest::moveto does work, I was just wondering if there was a way to do it without going back into .pl and add it in (glad I really looked into it when I did, only had 30ish npc's to edit)

Using 30 seconds myself, but on Live it may have varied per npc but dont quote me on that.. Tried to find any quest npc's on zones that I havent touched yet, and no quest npc that I found, would return to original heading after hailed... Mobs with pathing would obviously return to path tho

Still playing with perl and "learning" so I wasnt aware of the methods you posted Trev.. mine are a bit sloppier and tedious to setup.. #loc of mob (with no interaction of course) then..

Portion of code.. With any possible dialogue outcome resulting in the quest::starttimer
Code:
sub EVENT_TIMER
	{
	if($timer eq "heading")
		{
		quest::moveto(-142.9,104.7,105.3,102.1);
		}
	}

sub EVENT_SAY
	{
	
	if($text=~/hail/i)
		{
		if($class eq 'Warrior' || $class eq 'Cleric' || $class eq 'Paladin' || $class eq 'Shadowknight' || $class eq 'Ranger')
			{
			if(quest::istaskactive(26))
				{
				$client->Message(7, "$NPCName whispers, 'I am sorry $name, but I cannot help you any further.'");
				quest::settimer("heading", 30);
				}
			else
				{
				$client->Message(7, "$NPCName whispers, 'Hello $name. I can craft you a set of $plate identical to the ones some of us wear, if you gather the materials.'");
				quest::settimer("heading", 30);
				}
			}
		}
       }
Heres another question.. Is there a way to start timer easier then what I have done? Possibly a...
Code:
sub EVENT_SAY
   {
   quest::settimer("heading", 30);
       {
        if($text=~/hail/i)
        }
    }

Last edited by deaddraqear; 04-22-2011 at 11:34 AM.. Reason: clarity
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 12:14 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