question re multiple quest rewards
Say I want to have the same NPC give different items for different quests. Is there a way to combine them into one .qst file? I've made one where you go and fetch 5 different items (to be turned in at different times), and put each turn-in under EVENT_ITEMS. The first 2 work, but I can't seem to get the 3rd through 5th. Also, any way to have items given based on percentages from a random number?
Thanks in advance for any insight and keep up the good work! |
I know that on live, Sergent **** (cant remember his name) in Skyshrine does 2 quests. But not at the same time. He has to be killed to repop with the other quest.
|
Yes you can have more than 1 quest in a given file.
Actually you HAVE to put all the quests you want a given NPC to do in a single file. |
the fact the first two work leads me to think you have a typo in the last couple or you've exceeded the buffer.
The skyshrine multi quests from an npc you'd handle with duplicate npc_type entrys on the same spawngroup. if that makes any sense =) |
Thanks to all for your responses. Regarding the last, how would one know if the buffer were exceeded? As to NPC_TYPE, are you saying I should duplicate the NPC? And not to be repetitive, but anyone know of a way to give an item from a list by using random numbers/percentages?
Thanks! |
(Not $rand isn't in yet)
Code:
%r = "$rand(0,10)"; |
The best way to prevent exceeding the buffer size with large .qst files is to create several EVENT_SAY groups, each with around 6-8 ( depending on length) text triggers.
|
OK. The lines in question are not EVENT_SAY lines, though, They are just EVENT_ITEM lines, each fairly short (if ($item1=="1001")} summonitem("1002"), etc. so I don't think its a buffer prob - Its not a typo either - JAW, when you say "Not $Rand.." do you mean I can't use this function yet? Thanks again for all your help everyone!
|
He ment to type "note" i think not "not".
You should and could just post the quest that doesn't work and someone will probably spot whats wrong |
If you're using cvs, just use $itemcount - $item# checks a specific trade slot iirc, itemcount checks how many of the item is turned in for the whole trade.
|
All times are GMT -4. The time now is 03:17 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.