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 08-22-2008, 06:25 PM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Post Many questions about quest globals

1. Is this expression, literally typed, in valid syntax?
quest::setglobal("kingdomfaction","realm_1",7,"F" );
(i.e., if "realm_1" in reality represents a faction ID, is it valid to use a text label to represent the faction_ID, so long as that same label is used and defined in the qglobal script in player.pl?

2. If yes, and if I set the global (as above) in an NPC script (npcid.pl), then in the player.pl script should I have something like the following to define the label?

{
my $factioncheck = undef;
if ($qglobals{kingdomfaction} )
{
if ($qglobals{kingdomfaction} eq "realm_1")

3. If yes, then does the player.pl in such a case go into the quest/template folder, or n the quest/zone folder?

There is not much out there that explains how all this works in a quest global.

Many thanks.
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 07:06 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