if i do the whole conditional thing like for a regular event it does not work.the ship can touch events in autorun mode while a dummy event is used to assign regions.I could just make more regions and make the first one dkisapear but i'd like to know if that is just one way to go about doing it.
how to make a region do an event once?
RPG Maker VXAce SupportI'm sorry - I have NO idea what you're asking.
Which ship?
What do events in autorun mode have to do with anything?
What do you mean by 'touch' - they ACTIVATE these events? Or they can go over these events?
How are you 'assigning' regions? That's not something you usually do while the game is running - how are you doing it? Why are you doing it?
What are you trying to achieve by making more regions and making the first one disappear?
How 'bout telling us WHAT you're trying to achieve, instead of HOW you're attempting to do it? There may be a much easier way than what you're trying to do.
Which ship?
What do events in autorun mode have to do with anything?
What do you mean by 'touch' - they ACTIVATE these events? Or they can go over these events?
How are you 'assigning' regions? That's not something you usually do while the game is running - how are you doing it? Why are you doing it?
What are you trying to achieve by making more regions and making the first one disappear?
How 'bout telling us WHAT you're trying to achieve, instead of HOW you're attempting to do it? There may be a much easier way than what you're trying to do.
made an event for the regions in parallel mode and made another event to trigger the region like in the tutorial i found on the net.
the airship can only touch the event in autorun mode so the event never stops.Ive managed to make it stop once but then it would not activate the second part of the event conditions.
downloaded hime's script to make airships touch events btw.
hm...yeah what i mean is conditional branches seem to ignore the switch a,b,cd etc it will play all text despite conditions met since autorun is required for the airship to touch the event :/
the airship can only touch the event in autorun mode so the event never stops.Ive managed to make it stop once but then it would not activate the second part of the event conditions.
downloaded hime's script to make airships touch events btw.
hm...yeah what i mean is conditional branches seem to ignore the switch a,b,cd etc it will play all text despite conditions met since autorun is required for the airship to touch the event :/
we cannot help you if you don't give us any informations.
- please link to any scripts or tutorials you're referring to, because we can't search for them any time someone mentions them.
- please post screenshots of your events, so that we can see what you have done.
- please make one description of what you want to do/what the events are supposed to do, and then a different description of what really happens. And please make it a complete description, not some short form - for example you never said if the player is on the vehicle "airship" and controlling it, or if you're using an event to simulate an airship.
We have neither the ability to read your mind nor a crystal ball to see what is displayed on your computer's screen, so you have to give us that info by screenshots and descriptions ;-)
- please link to any scripts or tutorials you're referring to, because we can't search for them any time someone mentions them.
- please post screenshots of your events, so that we can see what you have done.
- please make one description of what you want to do/what the events are supposed to do, and then a different description of what really happens. And please make it a complete description, not some short form - for example you never said if the player is on the vehicle "airship" and controlling it, or if you're using an event to simulate an airship.
We have neither the ability to read your mind nor a crystal ball to see what is displayed on your computer's screen, so you have to give us that info by screenshots and descriptions ;-)
If you're having trouble moving around while an event is in Autorun, then you have to end the event via a self switch, a variable, or a switch. These will stop autorun processes.
Parallel processes, in the event that you do not know, are events that run regardless of what you are doing, unless a specific condition is met for the process to end.
Now, if you are running an event as Autorun, thinking that you should be able to move about and that whatever it is you're doing should work perfectly, then that's a rookie mistake. One that I made before.
Now, I AM running my thought process based on the (scant) information you have provided, and if it is not what you want or need, I highly suggest sharing a link to the tutorial, a screenshot of the events, and whatever else you deem important and pertinent to the situation.
If, somehow, I managed to solve your problem, then lucky me, I guessed right.
Parallel processes, in the event that you do not know, are events that run regardless of what you are doing, unless a specific condition is met for the process to end.
Now, if you are running an event as Autorun, thinking that you should be able to move about and that whatever it is you're doing should work perfectly, then that's a rookie mistake. One that I made before.
Now, I AM running my thought process based on the (scant) information you have provided, and if it is not what you want or need, I highly suggest sharing a link to the tutorial, a screenshot of the events, and whatever else you deem important and pertinent to the situation.
If, somehow, I managed to solve your problem, then lucky me, I guessed right.
i notice if i make a parallel process the event in autorun mode starts working like "touch player, event touch etc" pretty cool but complicated.
here is what i did, i can make the event stop permanently but i can't make different text appear after erasing the event yet :/
https://www.dropbox.com/s/ck8hqutnnelqypa/Capture.PNG
https://www.dropbox.com/s/28t5x4r6hco7zda/Capture1.PNG
here is what i did, i can make the event stop permanently but i can't make different text appear after erasing the event yet :/
https://www.dropbox.com/s/ck8hqutnnelqypa/Capture.PNG
https://www.dropbox.com/s/28t5x4r6hco7zda/Capture1.PNG
Your autorun event is never ending. You need to give it TWO pages, not one, and get rid of the conditional branch and use the event page conditions instead.
Page 1 will be autorun conditioned by switch 1, and will turn on self switch A after showing the appropriate text. Page 2 will be conditioned by self switch A.
If the events DID work as you have them set up, they would continually show text - you'd never be able to do anything because the same text would just keep repeating.
In fact, why don't you just put that into the event where you check the region?
You haven't yet explained WHAT you are trying to do, which is what I asked in the very first reply.
Page 1 will be autorun conditioned by switch 1, and will turn on self switch A after showing the appropriate text. Page 2 will be conditioned by self switch A.
If the events DID work as you have them set up, they would continually show text - you'd never be able to do anything because the same text would just keep repeating.
In fact, why don't you just put that into the event where you check the region?
You haven't yet explained WHAT you are trying to do, which is what I asked in the very first reply.
I made a world map map and needed to make an explain text of what's those areas and if they touched those regions after the explanation then it would say something different.however the way i did it the text either went on 24/7 and when i put erase event the first text didnt even show up haha.
Do it the way I said. Two pages on the event, first one conditioned (in the conditions, above the sprite area) by the switch, then turn on self switch A and have the second page conditioned by that.
However, it's still going to repeat ad-infinitum, as long as you are ON a region tile that the list looks for. You need to rethink the process and add some new logic to tell it when NOT to repeat.
Also, if you change the Autorun triggers to Parallel Process, at least the player will be able to keep moving (when there's NOT a message showing, which is your current issue).
Are you PAINTING the regions, or just doing an outline with the region id?
However, it's still going to repeat ad-infinitum, as long as you are ON a region tile that the list looks for. You need to rethink the process and add some new logic to tell it when NOT to repeat.
Also, if you change the Autorun triggers to Parallel Process, at least the player will be able to keep moving (when there's NOT a message showing, which is your current issue).
Are you PAINTING the regions, or just doing an outline with the region id?
i put region 1 blocks on the outline of my world map they're red blocks with 1 on them.hm...
would "break loop" solve that if i put it on page 2?
would "break loop" solve that if i put it on page 2?
No. Autorun and Parallel Process events are ALWAYS running. Besides, Break Loop only works if you HAVE a Loop, and a loop isn't required for autorun/parallel process events.
You have said "the first time the player goes on a region tile, I want to show THIS message"
Then "every time after that, I want to show THIS message"
But really, you DON'T want it to show a message EVERY time after that.
First, you have to determine when you DO want it to show, and THEN you can decide how to make that happen. Obviously, you DON'T want it to show for the whole time the player is on that region tile. So when DON'T you want it to show?
Maybe you need to condition the second page by the same switch, as well as the first page (and also condition the second page by the self switch). Then on the first AND second page, turn the switch off. That means the message will show, and then not show until the switch is turned on again.
However, your initial event is telling it to turn the switch on EVERY FRAME, as long as the player is on a tile with that region id. So once it's turned off, it'll just be turned back on again. So you need a way to NOT make that controlling event check the region and respond on every single frame.
Maybe this script is the way to go ... by using two regions (region 1 to outline the area, then region 2 drawn both on the inside AND outside), you could make the message display if a new switch was OFF, then turn the switch on when the message plays (so it won't keep repeating as long as you're on that region), and then make region 2 turn that new switch OFF again. So when the player walks onto region 1, the message plays once then not again, and when they walk onto region 2 (have left region 1) it turns the switch OFF so when they NEXT go onto region 1, the message will play again, and not repeat until they leave and come back.
You have said "the first time the player goes on a region tile, I want to show THIS message"
Then "every time after that, I want to show THIS message"
But really, you DON'T want it to show a message EVERY time after that.
First, you have to determine when you DO want it to show, and THEN you can decide how to make that happen. Obviously, you DON'T want it to show for the whole time the player is on that region tile. So when DON'T you want it to show?
Maybe you need to condition the second page by the same switch, as well as the first page (and also condition the second page by the self switch). Then on the first AND second page, turn the switch off. That means the message will show, and then not show until the switch is turned on again.
However, your initial event is telling it to turn the switch on EVERY FRAME, as long as the player is on a tile with that region id. So once it's turned off, it'll just be turned back on again. So you need a way to NOT make that controlling event check the region and respond on every single frame.
Maybe this script is the way to go ... by using two regions (region 1 to outline the area, then region 2 drawn both on the inside AND outside), you could make the message display if a new switch was OFF, then turn the switch on when the message plays (so it won't keep repeating as long as you're on that region), and then make region 2 turn that new switch OFF again. So when the player walks onto region 1, the message plays once then not again, and when they walk onto region 2 (have left region 1) it turns the switch OFF so when they NEXT go onto region 1, the message will play again, and not repeat until they leave and come back.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-region-do-an-event-once.22536/