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 Threads

Latest Profile Posts

Gameboy Tiles, Cure Writer's Block, Animations on Menu, Generate Tasks | RPG Maker News #40

How would you judge a game you played? Art/Graphics? Story? Gameplay?
Learn MV sales goal = 2%
NSFW game sales goal = 2500% (no jokes) :guffaw:
After gathering, sorting out & reconsidering hundreds of enemy battlers over the last two das, finally my favorite part begins: Inventing names and lore for them all :D

Forum statistics

Threads
111,377
Messages
1,060,589
Members
144,706
Latest member
DonTonyPepperoni
Top