Using Qglobals for Turn in
Basically my objective is;
1. Turn in item, be assigned a qglobal with a value ie 1 2. NPC then, based on qglobal value, offers you a list of items via varlink 3. I would like for you to click on item, it summons it for you and deducts the value of your qglobal almost as in alternate currency. so setting you back to 0. My question is, is this an efficient way to do this? If not what other alternatives do I have? Could I use radiant crystals instead and how would they deduct them? And is it possible to quest::summonitem based on the click of the varlink? Code:
sub EVENT_SAY { |
This can work, I've mocked up something in the past, but I think I'd have to dig it off of my old HD.
I think there actually may be a post around here with an example somewhere that someone else has done, but I CBA to look it up. But yeah, qglobal as a currency can work well. You could do radiants or ebons or LDoN points as well, end result should be similar, but with LDoN and Radiant/Ebon, you get that nice interface to work with rather than text in your chat box (which can be spammed, but can be worked around with popups). |
Thanks Nen :-) would you mind sharing a sample of how to give and take away from the globals?
|
I'll see what I can dig up when I get home in ~1hr or so. I can't promise anything, since that HD more or less kicked it, but I'll try to recover what I can.
|
np bro if ya cant thats fine lol KingKrab got me up and running thanks man!
|
Perfect, glad he could. That thing ain't booting, and I don't have any old backups. Glad to hear it worked!
|
All times are GMT -4. The time now is 04:41 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.