The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: zelkova on April 19, 2008, 07:54:55 PM

Title: fruit appearing on trees
Post by: zelkova on April 19, 2008, 07:54:55 PM
Can somone tell me how to make it so that when you do somthing like pick a herb or fruit off of a plant, then that herb or whatever isnt avalable for a certin ammount of time, but comes back after a certin amount of time, hence it would grow back. how do i achive this?
Title: Re: fruit appearing on trees
Post by: modern algebra on April 20, 2008, 12:47:23 AM
Well, one of the easiest way is to simply make an event with two pages.

On the first page, you get the fruit or whatever, and then you turn on Self-Switch A. The Second page has as a condition to run Self-Switch A must be ON, and it is a parallel process. All it should have in it is one or more Wait commands (depending on how long you want it to wait before the fruit grows back. 20 frames = 1 second) and then at the end, turn Self-Switch A OFF.
Title: Re: fruit appearing on trees
Post by: zelkova on April 25, 2008, 03:28:05 AM
Ah, I didn't think of it that way,  thanks :D