Help - Search - Members - Calendar
Full Version: Look momie i picked some flowers, but they wont grow back
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
Adrien.
I saw a thread on this a while ago on picking flowers, or chopping wood or what ever, then leaving the map, coming back and seeing the trees, flowers ect has growen back

i know it can be done with events, but how do you get it to grow back? is it not a switch?
Night5h4d3
Have you tried a self-switch rather than a switch?
Adrien.
QUOTE (Night5h4d3 @ Mar 5 2010, 01:19 PM) *
Have you tried a self-switch rather than a switch?


no i have not whats the diff?
Irukinsu
You don't need a switch. Simply exiting and reentering the map will make the event revert back to its default phase.

Switch Tutorial
BasharTeg6
QUOTE (Irukinsu @ Mar 5 2010, 02:00 PM) *
You don't need a switch. Simply exiting and reentering the map will make the event revert back to its default phase.

Switch Tutorial


Right, but he should probably add "erase event" at the end of each event so it doesn't just revert when the actions finish running.

Are you looking for the flowers to grow back immediately when the player returns to the map or would you prefer a timer that dictates the speed at which they grow back?
Adrien.
QUOTE (BasharTeg6 @ Mar 5 2010, 08:28 PM) *
QUOTE (Irukinsu @ Mar 5 2010, 02:00 PM) *
You don't need a switch. Simply exiting and reentering the map will make the event revert back to its default phase.

Switch Tutorial


Right, but he should probably add "erase event" at the end of each event so it doesn't just revert when the actions finish running.

Are you looking for the flowers to grow back immediately when the player returns to the map or would you prefer a timer that dictates the speed at which they grow back?


a timer would be nice smile.gif
BasharTeg6
In that case you'll need to use common events. The easiest route would be to have all of the plants on the map regrow at once so you don't have to make an independent switch for each one. Here is my suggestion:

Player picks flower. At the end of the event, activate a new switch called "REGROW". Then create a new event page with the graphic of the flower after it's been picked with "REGROW" as a switch condition.

Now, create a new common event called "Regrow Timer". Set it to Parallel Process with "REGROW" as the condition switch. In the actions for this event, add a "Wait (60) frames" command (this equals 1 second.) Copy and paste this command for as many seconds as you want - this will dictate how long it will take the plants to grow back. At the end of this event, set the switch "REGROW" to OFF.

If you want them to regrow independently it will take a bit more work and require variables. Let me know if this is what you would rather do.
Adrien.
QUOTE (BasharTeg6 @ Mar 6 2010, 08:03 AM) *
In that case you'll need to use common events. The easiest route would be to have all of the plants on the map regrow at once so you don't have to make an independent switch for each one. Here is my suggestion:

Player picks flower. At the end of the event, activate a new switch called "REGROW". Then create a new event page with the graphic of the flower after it's been picked with "REGROW" as a switch condition.

Now, create a new common event called "Regrow Timer". Set it to Parallel Process with "REGROW" as the condition switch. In the actions for this event, add a "Wait (60) frames" command (this equals 1 second.) Copy and paste this command for as many seconds as you want - this will dictate how long it will take the plants to grow back. At the end of this event, set the switch "REGROW" to OFF.

If you want them to regrow independently it will take a bit more work and require variables. Let me know if this is what you would rather do.


thx it will be easier for them all to regrow. will this way allow me to farm the plants then? contiounsly pick them?
BasharTeg6
Yeah they'll continue growing back forever unless you change something so they don't.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.