-
Game Developer
Valley Of Devah Quest
Hey guys.I made a Valley Of Devah quest,but the problem is that i don't want to make the quest repeatably.I want to do it 1 time only ! I forgot how it works,since i was away for long time.I could need some assistance.Here are the lines in Quest.txt
;Valley Of Devah Quest
(quest (index 75000 1)
(case (if (clear 75000 1)) (then (html )))
(case (then (link 75000 2)))
)
(quest (index 75000 2) (linked 1)
(case (if (level 70) (item (1612 1) (1613 1) (1614 1) (1615 1) (1616 1) (1617 100)))
(then (item (out 1612 1) (out 1613 1) (out 1614 1) (out 1615 1) (out 1616 1) (out 1617 100) (in 1620 0 1)) (clear 75000 2)))
(case (then (html )))
)
Thanks in advance !
Kind Regards,
KiLLeR
-
-
Re: Valley Of Devah Quest
Hey there,
(quest (index 75000 1)
(case (if (clear 75000)) (then (html )))
(case (if (quest 75000 1)) (then (link 75000 2)))
(case (then (save 75000 1)(link 75000 2)))
)
(quest (index 75000 2) (linked 1)
(case (if (level 70) (item (1612 1) (1613 1) (1614 1) (1615 1) (1616 1) (1617 100)))
(then (item (out 1612 1) (out 1613 1) (out 1614 1) (out 1615 1) (out 1616 1) (out 1617 100) (in 1620 0 1)) (clear 75000 2)))
(case (then (html )))
)
after the quest is saved you can add information on task-e in config.pk so you can see the information on Q.
if the quest is saved before it will not (save) again, which would cause a mainsvr error.
While (clear) in a (then) state is using the quest + flag, in a (if) state its just using the questindex...
-> The if check is just checking if the quest is cleared (if the quest is done)
-> The then check should always be cleared with the saved flag +1.
before you clear a quest, it should be saved. first (save 75000 1), then (clear 75000 2).
check if cleared: (if (clear 75000)) (then (pipapo))
I would add a html here like: you have done the quest already.
Kind Regards,
Uppa
-
Game Developer
Re: Valley Of Devah Quest
Write me on skype m8 ! Thanks for your reply ! I will test it now :)
Kind Regards,
KiLLeR