Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Quest Cant do more then 1 time.

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
snkey31
Member
Member
Posts: 14
Joined: September 11th, 2010, 6:47 pm
Name: dalton

Quest Cant do more then 1 time.

Post by snkey31 »

How do i make it were after you have finished a quest when you talk to him again he says something else
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen

Re: Quest Cant do more then 1 time.

Post 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.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:

viewtopic.php?f=9&t=2704&start=0

My tutorial site - still under construction, but lots of good stuff there:

http://pasandbox.webs.com/
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Quest Cant do more then 1 time.

Post 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.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Locked