View Single Post
  #4  
Old 07-26-2006, 05:54 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by bobbydole
I've never used it but can you use

read more about it here:
http://www.projecteq.net/phpBB2/viewtopic.php?t=149
Thanks for your help, I've already tried all this with negative results ;

quest::setglobal is npc specific - If I try make two variables of the same name with different npc's, the database will add the two enties separatly and for the individual npc ids who made them.

quest::targlobal might have been intended to change another NPC's variable value, but all it does is crash the zone. If I use it on the same NPC that made the variable, it will work ok.

quest::delglobal seems to work ok, but useless to me, since the latter two can not apply

I have more success with "global quests" switched off and the regular Perl variables.

It appears these commands are more intented for the many quests in EQ, that require dealing with one npc at a time.

It would be helpful to be able to set a "global" variable that could be use by any npc in the game.
Reply With Quote