[Trigger]RpG quest problem

Status
Not open for further replies.

gagarin699

Level 3
Guys guys.
is this possible in GUI,
if player1(red) take a quest. he cant take it again?
same in other players.

any idea guys?

thx

claptomanic

Level 9
yes it is....just make a boolean check....set a boolean when the player takes the quest....and check it in the quest trigger.

Lysho

Level 4
Lol i love integers more than anything. I would just make an integer array called quest1 with an array of however many players there are, then set it to 1 when that player gets that quest. Then if he tries getting the quest again, it wont let him because the integer is 1, which means he already got it. Basically put your entire quest actions into a Then of If/Then/Else, where the If is
If quest1[player number of triggering player or whatever] is equal to 0, then
And then you put your quest, including to set quest1[player number of triggering player or whatever] equal to 1.
The else would be Do Nothing or display a game message that says "You cannot repeat the same quest twice" or something like that.

Zunariel

Level 10
I would rather always use integers for the progression of quests
For example
QInteg = 0
Give quest QInteg +1
If 1 and killed 10000 wolves
Give reward and QInteg +1
If 2 and Hero[Player] is level 10
Give next quest and so on

defskull

Level 33
Make a Boolean variable and make it support array.
When a Player takes the quest, set that Boolean[Player number of (Triggering player)] = True.

The next time the Player wants to take it again, make a Boolean check, if it's True, you cannot take it again.

gagarin699

Level 3
thx for all your help guys.
boolean is easy for me ^_^ than integer.

Status
Not open for further replies.

[Trigger] Multiplayer quest
Replies
1
Views
891
Replies
1
Views
782
Replies
1
Views
614
[General] Quest Problem
Replies
0
Views
423
Replies
4
Views
685