Event reseting through time or steps

Cqualt

Veteran
Veteran
Joined
Jul 15, 2019
Messages
74
Reaction score
6
First Language
English
Primarily Uses
RMMV
Hey guys ive had alot of trouble and even tried googling and cannot come up with a solution so im here to ask some help if anyone knows an answer

The scenario : there is 3 different Mining rocks to "mine" after mining Rock #1 it will dissappear into a crumbled state
My goal : making it reset back to normal into a "mining state again(Page 1)" after 60 seconds or perhaps 60 steps

Keep in mind Rock # 2 and # 3 will also be mined basically same time of #1

Ive seen someone use "wait" then turning off page #2 back to page #1 but i cannot use "wait" as the maximum number for wait is 999 Frames and i want it longer than 10 minutes

anyone know a way or a plugin? Thank you so much in advance i cannot get around this problem
 

Walldeaf

The Event-Master
Veteran
Joined
Apr 29, 2013
Messages
91
Reaction score
70
First Language
Dutch
Primarily Uses
RMVXA
10 minutes is 600 sec x 60 frames = 36000 frames
just use another wait function.
wait 999
wait 999
and so on...

I use it in my latest game also.
 

Cqualt

Veteran
Veteran
Joined
Jul 15, 2019
Messages
74
Reaction score
6
First Language
English
Primarily Uses
RMMV
10 minutes is 600 sec x 60 frames = 36000 frames
just use another wait function.
wait 999
wait 999
and so on...

I use it in my latest game also.
This helps i didnt think of using the wait command again n again but if it works then it works LOL thanks man it helped alot

If anyone else has any other methods i'd like to hear them thank you in advance and thank you again
 

Walldeaf

The Event-Master
Veteran
Joined
Apr 29, 2013
Messages
91
Reaction score
70
First Language
Dutch
Primarily Uses
RMVXA
If you want to do it through steps, that's possible too.
Just make a variable to count the steps, then turn off the count "Variable = 0" until the "mine" is mined again. then start the variable again.
In this case you should also do the exit event off the map to add "Variable = 0".
 

Cqualt

Veteran
Veteran
Joined
Jul 15, 2019
Messages
74
Reaction score
6
First Language
English
Primarily Uses
RMMV
Select Script command then add this:
Code:
this._waitCount = 36000;
Ahh thats a cool way thanks for another Method both are extremely helpful :)
 

Latest Posts

Latest Profile Posts

If you're an artist of illustrations, you're doing fine.
If you're an artist of writing, you're doing fine.
If you're an artist of programming, you're doing fine.
But if you are all three above (and more) you cannot allow any distractions in your life.
Anyone had school furniture?
After working out some initial confusion, I managed to get Yanfly's Improved Battlebacks successfully working on a test battle, changing the battleback and getting it to scroll during combat. This means that I can have graphically dynamic battles on moving platforms, like the roof of a train or the deck of a ship/airship...
Place Events Like Tiles Through Replacement, & Take Notes Free Form | RPG Maker News #41

the singularity is upon us:
1621133810311.png

Forum statistics

Threads
111,398
Messages
1,060,810
Members
144,741
Latest member
Styrale
Top