Getting a Parallel Process Event To Stop Repeating

I'm trying to create a day/night cycle that uses pictures to add extra lighting effects. The change between pictures was too abrupt, so I added a parallel process event with many pictures at different opacities to create a smoother transition. But the transition repeats over and over again. I added a self switch and a page with the single full opacity picture, and that works for one period of day(morning), but the single picture stays through all the other time periods. If I add a switch for morning on the second page, the event starts at the second page and is again too abrupt. I had originally added the pictures to the Common Event that controlled tints, but that didn't work because of the repetition.


Can you please help either get the parallel process to end at the last picture command, or get the self-switch-full-opacity picture to go away after the morning switch is off? This would be very useful to know for other events too.


Screenshots:

Spoiler
lighting screen.png


lighting screen 2.png


Here are the common events that are tied to it.


lighting screen 5.png


lighting screen 6.png


This is what the evening should look like, just one light source in the north west.


lighting screen 4.png


And this is what the morning looks like, two light sources in both the east and west.


lighting screen 3.png
I think that the event repeats because you didn't turn off morning. I don't really know, have you see if morning is really off at all? Or maybe changing some image display coordenades?
@XxXhelazz  No, turning the switch off doesn't do anything...


Thanks for answering though.
Your second page is set to self switch A.  This will always override the Morning switch as the engine reads event pages from highest number to lowest and stops at the first page where the conditions are fulfilled.  It will, therefore, never reach page 1 again and the full opacity picture will always show.


If you want this to happen repeatedly, i.e. every time the Morning switch is turned on, then instead of using a self switch, you would need to use another control switch, let's call it 'full morning'.  Activate that and use it for the condition of page 2.  Then include turning that switch off when you want the time to cycle on to the next day so that the engine reads the first page.
@NightHerald...


The Event pages have a priority, the highest numbered page with conditions 'True' will run. This implies, in your case above, that, once the Self Switch 'A' has been triggered, it will always run. Nothing turns off that Self Switch. I could suggest two different methods to treat this, depending on the effect wanted.


1 - Have a 3rd page, with a condition 'Day: On', with the command content 'Self-Switch 'A': Off. Once 'Day is triggered, this 3rd page will override the 2nd page, and turn off the Self Switch. When next Morning comes, the 1st page will again be active.


2 - You could use another Switch, instead of a Self Switch, to trigger your 2nd page. Page 1 could set this Switch (End of Morning, for instance...) to trigger Page 2. At any future change of lighting, such as 'Day' becoming active, have the Morning Switch Off, but also the End of Morning Switch. Both pages will remain inactive intil the next Morning.


Does this help at all..?
@ksjp17 @Dad3353 Thank you both so much! It works perfectly!
R91KekF.gif
The change between pictures was too abrupt, so I added a parallel process event with many pictures at different opacities to create a smoother transition



lol - talk about doing things the hard way!


You can just use Move Picture to change the opacity over a set number of frames (or seconds?)
@Shaz Thank youuu! ;_; I knew there had to be a simpler way to that. I didn't even check out the move picture command -_- I should really look at all the commands and see what they all do before trying to do something like this...

Original thread: https://forums.rpgmakerweb.com/threads/getting-a-parallel-process-event-to-stop-repeating.68488/