quest::delglobal();
Does quest::delglobal(); still work?
All examples of usage I have seen show it being used like this: quest::delglobal([varname]); Now if that is true then this should work: Test.pl Code:
sub EVENT_SAY { I have also tried writing it like this quest::delglobal(Hailed_NPC); and quest::delglobal([Hailed_NPC]); but I end up with the same result everytime. I can comment out the quest::delglobal(); and it will work flawlessly. I can create and mofify qglobals but I can not delete them. I made sure to set the qglobal field for the npc so I know that isn't it. What I am missing or doing wrong? |
Did you try a global name that does not have an underscore?
Searching of older posts show that you are using the syntax correctly. |
Turns out it was the underscores that caused it not to work. That is odd because both setglobal and targlobal work when using underscores. Thanks for the help.
|
All times are GMT -4. The time now is 07:45 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.