Looping event?
RPG Maker VXAce SupportWhich part in particular is looping? Like does it go all the way to the end and then go back to the start? Or does it loop a specific section of your eventing? Also could you possibly give more detail as to what you are trying to achieve (your description seemed a little vague to me sorry).
And please, don't crop the screenshots below the event window size - your cropping deleted important information about the events like page numbers (determines priority) and sometimes trigger (autorun and parallel automatically loop) and more.
The one called fight 4. It keeps pooping even when I give it a self switch
@themastergamer121: if that loops, it is because the self-switch is on the wrong page. And as said before, we can't help you unless we get the full pages with page numbers and conditions, because that is exactly where your error is.
Always remember: Higher page number is equal to higher priority.
Always remember: Higher page number is equal to higher priority.
I DID give the full pages. I gave one with the event that switches to it then the one with the event that crashes. Their in those pictures. Their not croped those are just the different pages. I thought if I showe the event that has the switch to the one that loops then show the one that loops it would help but instead the opposite happened
No, you did not - the page numbers are not visible on both the picture with the fight 4 switch condition and the picture with the self-switch A condition.
Only on the first two pictures we can see that that is page one of that event, and that the event has six pages, but we cannot see which page is which in the later pictures.
But as I tried to explain to you, the page numbers ARE important, and the problem is most likely because you have the commands on the wrong pages.
So please, give us those two screenshots INCLUDING their page number from the top of them.
That are not the two event pages you mentioned above - you said that the one conditioned to the switch fight four would be looping despite being switched off, and I specifically requested that page and the page it is supposed to switch off to as a picture.
And in any case, if the page 4 with the fight-3-switch has the same problem, I still need the page that it switches to with the control self-switch A.
And in any case, if the page 4 with the fight-3-switch has the same problem, I still need the page that it switches to with the control self-switch A.
the first image is the one that turns on a switch that goes to the event that loops which is the second one. After the fight thats supposed to happen turns on another switch that supposed go back to the first one so it can control whose standing there. But it doesnt. Instead it either just stops and doesnt continue or loops. No matter what I do to fix it. The event refuses to go to the next one even though I have switches there. I dont get it at all
That is most likely your problem.
Turning ON a switch can NEVER go back to a lower page number - only turning OFF a switch can go back to a lower page number.
And that is why page numbers and page priority are vital when making an event.
That's when theres a problem....I have NO idea how to turn off a switch. I just set it to autorun and let it move on to the next and when that page is done I do a self switch so it doesnt loop or try anything on me.
with the same command used to turn on the switch? control switch allows you to select if you want to turn it on or off.
You CANNOT condition a page to an switch OFF - and that is not what I meant. If you want to return to a lower page number, you need to turn off the switches that control the higher pages (NOT the switch on the page you want to go to), until the wanted page has the priority.
Oh ok I did it so the switches are off now to see if it works...
Please work through some of the eventing tutorials available. Your problems indicate that you don't really understand the effects of page priority, and that is very important for events.
Some methods only work as long as you go to higher page numbers, others only work when you're trying to go back to lower page numbers.
As a result, any form of looping requires the pages to be placed in exactly one specific order, with the event breaking as soon as something is outside that ordering.
And that is probably what's happening here.
From what I can see of your events, you'll most likely have to redesign them using flowcharts for the different sequences (something that is used in some of the official tutorials for event design as well).
If you want help with that, you'll need to do two things:
1) give us a picture of a flowchart showing what should happen under which conditions
2) make a copy of all events, remove all show text commands from them (so that only the logic remains and everything should be visible without scrolling) and then give screenshots of every single event page in correct order and with page numbers visible.
With those endless show texts on your previous pictures (and missing page numbering and some conditions), we can't check the logic and the event flow behind them.
Some methods only work as long as you go to higher page numbers, others only work when you're trying to go back to lower page numbers.
As a result, any form of looping requires the pages to be placed in exactly one specific order, with the event breaking as soon as something is outside that ordering.
And that is probably what's happening here.
From what I can see of your events, you'll most likely have to redesign them using flowcharts for the different sequences (something that is used in some of the official tutorials for event design as well).
If you want help with that, you'll need to do two things:
1) give us a picture of a flowchart showing what should happen under which conditions
2) make a copy of all events, remove all show text commands from them (so that only the logic remains and everything should be visible without scrolling) and then give screenshots of every single event page in correct order and with page numbers visible.
With those endless show texts on your previous pictures (and missing page numbering and some conditions), we can't check the logic and the event flow behind them.
I finally got it to work but for some reason the recover all command doesnt wanna work so I just gotta throw that out there. I want the actor to heal up before the battle. I tried recover all and for some reason decides not to work for that one battle. I tried change hp still wont heal. What gives?
Recover all only recovers for people in the party at the moment you call it. Make sure everyone you wish to heal is in the party before calling it. Also it must be after any other events that change your max HP.
Original thread: https://forums.rpgmakerweb.com/threads/looping-event.68295/









