Parallel event not working?

I have a event that went a certain stat hits say 20 they charter should say "hey im at 20!" and then the event continues the same for 40 60 80 then 100 something happens back to 0 for it all to happen again

Problem is no matter now i set it up it either NEVER activates regardless of stat number or she will say "hey im at 20" forever and ever

i tried as each tick being its own page each tick being a if else and if branches and each tick being its own event still cant get my results just to say "Hey im at 20" the text window closes stay closed and game continues until >= 40 so forth and so forth

I will upload my event dont judge me.

help 1.png


help 2.png
basic logic error

the first conditional branch is executed when the value is >0 and you have the second conditional branch in its else, which means that the second condition will only be tested if the result is NOT >0. but a value 20 is always greater zero so your first branch blocks all further checks.

you need to test for the highest value first if using >= sequences like that.

And for the future - in such cases you should always place show text for testing so that you can tell where the logic goes - that would have shown you that it always ends on the true part of the first branch.

additionally it is very bad to have something like this as a parallel process. better make it a common event that is called once whenever the variable is changed.
basic logic error

the first conditional branch is executed when the value is >0 and you have the second conditional branch in its else, which means that the second condition will only be tested if the result is NOT >0. but a value 20 is always greater zero so your first branch blocks all further checks.

you need to test for the highest value first if using >= sequences like that.

And for the future - in such cases you should always place show text for testing so that you can tell where the logic goes - that would have shown you that it always ends on the true part of the first branch.

additionally it is very bad to have something like this as a parallel process. better make it a common event that is called once whenever the variable is changed.



Can you make it simple or show a tiny example... so start at 100 and work my way down or eliminate 0 completely?
elimitating 0 would then block everything at the next step - because 40 is also bigger than 20.
you need to start at the highest number and then go down.

Just think of it as a series of bags. if you say everything that is greater than 20 goes in the second bag, then 40, 60, 80 and so on will also go to the second bag because they are greater than 20 as well. you can only prevent that if they never get to that point, and that means you have to check for everything higher before it comes to any one bag.
Sorry I am unfamiliar with common events I will upload new SS to see if I did correctly they way i have it now it Still wont activate no matter the stat change 0 or 9999


Help 3.png
I said DO NOT use parallel for this - the entire reason for going the common event route is to remove that parallel trigger.
You have events that change that bladder variable. in every event where that variable is changed, you add a "call common event" directly after that change, and keep the trigger = none on the common event.

otherwise from what I can see you might have gotten it correct this time, but you added another variable and another branch that had nothing to do with the original case to this, and that blocks the bottom part of the event-
and PLEASE, use [alt]-[prtscr] instead of only [prtscrn] for your screenshots - we don't need to see the rest of your editor and that makes the screenshots better readable
I said DO NOT use parallel for this - the entire reason for going the common event route is to remove that parallel trigger.
You have events that change that bladder variable. in every event where that variable is changed, you add a "call common event" directly after that change, and keep the trigger = none on the common event.

otherwise from what I can see you might have gotten it correct this time, but you added another variable and another branch that had nothing to do with the original case to this, and that blocks the bottom part of the event-
and PLEASE, use [alt]-[prtscr] instead of only [prtscrn] for your screenshots - we don't need to see the rest of your editor and that makes the screenshots better readable



Forgive me I am new to most of this I am trying my best now I did your corrections at this time the text box repeats I am working on it but I believe I got it right this time.

I do my best to follow instructions I am just slow to learn at times forgive me I will click Like or thanks for your replies 🙂

i did it i think i got it! THANK YOU SENSEI!~

Help 4.png
Help 5.png

Original thread: https://forums.rpgmakerweb.com/threads/parallel-event-not-working.109638/