Quest Globals Question.
All right, I have a question about quest globals, if I wanted it to be an account global would it be like below?:
Code:
quest::setglobal(SpellReset$actd, 0, 5, "F"); |
Check at the bottom of http://www.eqemulator.net/wiki/wikka...=QuestTutorial
5 = this player (aka character) If you have extra code to get acct id, I'm sure you could get it to work. |
So if I have this below I should be able to do it, 5 = NPC and Zone all.
Code:
my $actd = $client->AccountName(); |
almost. you're not concatenating your string correctly in your first example.
you want something like this for the varname field of the qglobal: Code:
#interpolation Code:
# concatenation Code:
quest::setglobal('SpellReset'.$client->AccountName(), 0, 5, 'F'); |
Quote:
|
All times are GMT -4. The time now is 01:48 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.