Multiple Quest Rewards
I was wondering if anyone knew any nifty ways to have an npc offer multiple reward choices when turning in quest items via PERL... not the task system... I would use the task system but im not quite finished learning it yet and it is a whole lot more time consuming.
Would I have to use quest globals after the turn in to signal the npc to offer the different rewards??? Or is there a better and easier way to go about doing this? |
Yes, if you don't want to use the task system, then qglobals is probably your only other good option. You could do a point system if you wanted, or simply use a qglobal for the exchange. I have some examples of quests posted in the custom quest section using qglobals for a point system to choose item rewards like you are wanting.
Maybe some of the examples here and script comments will be of help: http://www.eqemulator.net/forums/showthread.php?t=26123 |
You could have the NPC accept a quest reward in enchange for a different item in a round robin manner.
Turn in item 1 get ya 2, 2 for 3, 3 for 4, 4 for 1. |
Or, you could even do a hasitem check and not have them do a turn in at all. Just check if they have the item before allowing them the options to get a reward. Then, list the possible rewards and once they chose one, just nuke the item that they need to have to get the reward.
|
Thanks guys, ill probably use Qglobals on the turn in and then have the npc offer the different items after that.
Trev are you using the task system on SH yet? |
here is a little sample for you where npc takes 1 quest item and then gives you a random reward. he will also accept back any of the reward items and again randomly choose a reward item. Of course you may spent some time giving items back to him till you get exactly what you want.
item 1060 is the quest item, items 1189-1193 are rewards Code:
sub EVENT_ITEM alternativly this can be set up that he trades reward items one for one (give 1 get 2, give 2 get 3. give 3 get 4 and so on) |
Yea In the Past Ive Used The Trade Item In Deal - But I Wanted a Much More Cleaner Setup... Heres What I Came Up With (And Thx Trevius I Used Parts and Pieces of your Kill Credit Script)
Code:
###Zone - Guildhall### |
All times are GMT -4. The time now is 07:48 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.