1 (edited by 01nick01 2014-04-11 19:12:15)

Hello, I have small problem.
I have two quests one for horde ID 900000 and then for alliance 900001 - this quests has set NextQuestId 900002 for both
And now problem:
If I have

UPDATE quest_template SET NextQuestId=900002 WHERE entry=900000 or entry=900001

and the quest with entry 900002 has empty PrevQuestId its visible for other players but i want it invisible for players who doesnt complete 900000 or 900001
So i set quest 900002 PrevQuestId=900000. Now its invisible horde can take it and complete BUT alliance cant. Alliance see it when the complete first quest BUT then error appear: You are not allowed for quest....

So please help me big_smile I dont know what to do. Thanks smile

Havent done many custom quests but could try

NextQuestId

If value > 0: Contains the next quest id, if PrevQuestId of that quest is not sufficient.

If value < 0: Contains the sub quest id, if PrevQuestId of that quest is not sufficient. If quest have many alternative next quests (class specific quests lead from single not class specific quest) field PrevQuestId in next quests can used for setting this dependence.

See the examples section for examples.

Chain of quests with multiple start quests.

Player should only be allowed to complete one of three possible

    *questA*     *questB*    *questC*
        \           |           /
          ------ *questD* -----
                    |
                 *questE*

PrevQuestId = 0        NextQuestId = questD   ExclusiveGroup = questA   NextQuestInChain = questD    entry = questA
PrevQuestId = 0        NextQuestId = questD   ExclusiveGroup = questA   NextQuestInChain = questD    entry = questB
PrevQuestId = 0        NextQuestId = questD   ExclusiveGroup = questA   NextQuestInChain = questD    entry = questC
PrevQuestId = 0        NextQuestId = 0        ExclusiveGroup = 0        NextQuestInChain = questE    entry = questD
PrevQuestId = questD   NextQuestId = 0        ExclusiveGroup = 0        NextQuestInChain = 0         entry = questE