RPG Maker MV

RPG Maker MV

how do i stop a loop that's inside a common event?
i have it as this

/if variable is >=1
run 1
run 2
run 3
run 4
run 5
:end
/if won game is on
break loop
end
repeat above
< >
Showing 1-4 of 4 comments
Caethyril Aug 19, 2016 @ 1:29pm 
Get rid of the loop and change your common event's trigger to "Parallel". Parallel events process once per frame in the background while active. You'll need to choose (or create) and assign a switch to the event, too; the event will only process while that switch is on.

It's generally advisable to have a Wait command in there too, either at the start or the end. Doing so eases the pressure on the CPU. "Wait 60 frames" will cause the event to execute ~ once per second, which is generally sufficient.
Last edited by Caethyril; Aug 19, 2016 @ 1:30pm
The Meatiest Meat Aug 19, 2016 @ 2:48pm 
thank you so much man/gal. i appreciate it.
Caethyril Aug 20, 2016 @ 2:13am 
Happy to help! ^_^
The Meatiest Meat Aug 20, 2016 @ 6:29pm 
i seen that i could add a trigger to a common event and it wanted to me to select a switch but i never knew what i was supposed to do. i learn something new every day with this software.
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Aug 18, 2016 @ 1:11pm
Posts: 4