need some help with creating/completing quests

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

WarFreak131
Newcomer
Posts: 7
Joined: October 24th, 2008, 6:58 pm

need some help with creating/completing quests

Post by WarFreak131 »

I can create the quests I want, but I cant get them to complete properly. In the editor, when I want to mark a quest as completed, it only offers to mark the last created one as complete. I don't want to force the user into completing them in order. So is there a way that the user can have all 3 quests available, and complete them in any order they want?
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: need some help with creating/completing quests

Post by Arabidnun »

When you create a quest, have a variable quest array...Like Quest[x]... As x being a random number you will choose per quest.

When you create a quest in your trigger, right after that make a variable like this:

Set Quest[X] = Last Created Quest

Set x = a number, but make sure you do not duplicate that number, and remeber which number goes with which quest.
When the quest is completed, instead of making the trigger complete last created quest, make quest complete Quest[x] of the quest being completed.

If more help is needed, repost
WarFreak131
Newcomer
Posts: 7
Joined: October 24th, 2008, 6:58 pm

Re: need some help with creating/completing quests

Post by WarFreak131 »

cool, thanks