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.