EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   quest globals (https://www.eqemulator.org/forums/showthread.php?t=20247)

aza77 03-29-2006 03:42 AM

quest globals
 
does anyone have a clue what i did wrong here ??

quest::targlobal("racequest","1","F",$mobid,$chari d,$zoneid);
quest::say("globaltest = $racequest");

i always get ..
globaltest =

as result. npc global is set to 1 and server was restarted. the questglobal gets written to the db but i can't use it

fathernitwit 03-29-2006 01:08 PM

the global is not set until the next time the script is run, so that code above will never work (but should work if you say the trigger twice).

if that dosent help, double check your qglobal flag.

aza77 03-30-2006 01:01 AM

thanks now it's working :)
i had 2 lil faults in it first one was $mobid i changed it to npcid and second one was that i needed to hail him again


All times are GMT -4. The time now is 05:54 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.