Page 1 of 1

Quest Cant do more then 1 time.

Posted: September 12th, 2010, 3:12 pm
by snkey31
How do i make it were after you have finished a quest when you talk to him again he says something else

Re: Quest Cant do more then 1 time.

Posted: September 12th, 2010, 3:17 pm
by owenisred
Could you expand on your question? What game are you playing?

Also is there any chance you could post all your questions in one post? Makes it a lot easier for us to come back to you.

Re: Quest Cant do more then 1 time.

Posted: September 12th, 2010, 3:40 pm
by chocolatepie33
You can edit the script to create a quest1done variable, and use an if statement to check if it's bigger than 0. If it is, then your character says something different.
example:

Code: Select all

on_start [
quest1done = 0
money = 200
]

level_trigger_1 = [showgui CP]
newgui CP [
if ( > $quest1done 0 ) [
guitext "So you did the quest. Yay!"
]
if ( = $quest1done 0 ) [
guitext "You must do this quest: Get more than 200 dollars."
]

level_trigger_2 = [showgui ARC]
newgui ARC [
if ( > $money 200 ) [
quest1done = ( + $quest1done 1 )
guitext "You finished the quest. Report to CP"
]
if ( =< $money 200 ) [
gutext "you need more money."
]
]

level_trigger_3 = [ money = ( + $money 50 ) ]
Please correct me if this is wrong.