Tutorial Quest és Annak kihagyásához való Quest

Indította tredbobek, 2010 május 08, 08:56:26 DÉLUTÁN

Előző téma - Következő téma

tredbobek

Üdv!

Trinitys szerveren eligazító questeket csináltunk,hogy megtalálják a dolgokat + kapjanak kis alap kezdő "pénzt". Arra az esetre is csináltunk quest,ha az illető játékos nem akar eligazítást,hanem egyszerüen akarja a "pénzt" és már megy is.

Csak annyi a gond,hogy nem tudjuk azt megcsinálni,hogy ha elfogadja az egyik questet (Pl. a tutorialt) akkor ne tudja megcsinálni a másik questet,ahol kapásból megkapja a lét, vagy ennek a fordítotja

Egyszerübben ha "A" questet elfogadja ne tudja "B" questet elfogadni,és fordítva ha "B" questet elfogadja akkor ne tudja "A" questet elfogadni

(A Tutorial quest az lényegében egy quest sorozat, a tutorial kihagyásának questje meg 1 questből áll)

tredbobek

Meglett oldva már mindegy!

Jah am ha valaki hasonlót keresne,akkor mondom hogy az ExclusiveGroup -pal kell művelődni.
ExclusiveGroup

if ExclusiveGroup > 0

Allows to define a group of quests of which only one may be chosen and completed. E.g. if from quests 1200, 1201 and 1202 only one should be allowed to be chosen, insert 1200 into ExclusiveGroup of all 3 quests.

if ExclusiveGroup < 0

Allows to define a group of quests of which all must be completed and rewarded to start next quest. E.g. if quest 1000 dependent from one of quests 1200, 1201 and 1202 and all this quests have same negative exclusive group then all this quest must be completed and rewarded before quest 1000 can be started.


Példa:
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

Powered by EzPortal