Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
Print Page - [Resolved]]Quest needs more than one item.

The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: JFloyd on July 05, 2009, 08:50:36 PM

Title: [Resolved]]Quest needs more than one item.
Post by: JFloyd on July 05, 2009, 08:50:36 PM
I'm making a small quest, where you must get a man 6 apples. Is it possible to set a conditional branch to need more than 1 item?
Title: Re: [Request]Quest needs more than one item.
Post by: Grafikal on July 05, 2009, 11:11:02 PM
Use variables. Make like Variable00X = # of apples you have or something. So at at the beginning of your quest, set Variable00X == 0 . Then everytime the player picks up an apple, add 1 to Variable00X. So, Variable00X=+1, then when you want to have 6 you say, the quest giver or receiver or whatever can use a conditional branch to check if Variable00X =>6 (equal to or greater than 6). And if that variable is equal to or greater than 6 then the quest is completed. Look around for tutorials on variables if you don't know how to use them.