RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[Resolved]]Quest needs more than one item.

Started by JFloyd, July 05, 2009, 08:50:36 PM

0 Members and 1 Guest are viewing this topic.

JFloyd

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?

Grafikal

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.