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
  #1  
Old 06-22-2008, 01:39 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default quest help globals

help with quest its not working please

npc 1
Code:
sub EVENT_SAY
{
if ($text =~/Hail/i)
 {
quest::say ("Shhh... Not so Loud.... the slavers might catch us. How did you come to be here?
Oh..nevermind that, quick before the orcs catch on I have something to ask you. Have you come here to free us? Or at least put a stop to Crush's [Plan]?");
 }
if ($text =~/Plan/i)
 {
quest::say ("Others talk of the Excavation here in the mountainside, Slaves are brought in daily and others taken away after finding strange artifacts the orcs seek. There is talk among the slaves that when they take you they set you loose in the valleys of butcher.... but ive noticed the orcs never really bring in food supplies, more like they don’t free you but butcher...");
quest::emote("Shivers slightly and pales");  
quest::say ("enough of that thought... all I know is that others might know more about what's really going on here....");
quest::setglobal("slave", 1, 5, "F");
}
}
npc 2

Code:
sub EVENT_SAY
{
if ($text =~/Hail/i)
{
if($slave == 1)
{
quest::say ("Huh? What?...Wait who are you? Did [Traunt] send you?");
}
if($slave == undef)
{
quest::say ("I have nothing to say to you right now.");
}
}
}
its not working should not be able to talk to npc2 untill you talked to npc1 but its saying "I have nothing to say to you right now" weather or not you talked to npc1
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 03:37 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