I have the most simple code over here that does not work. I tried switching the "OK" button with "Shift" with "Cancel" even with "Down" and all the other directions. The picture won't disappear. Any advice please? (I'm just stupid man, how does this not work)
Conditional branch with button press not working
RPG Maker MZ Supportthat way it cannot work, because the conditional branch does not wait for the press - it only registers the press if the button is pressed in that frame.
theoretically you would need a parallel process checking the conditional branch every frame or so, but for something like waiting on a picture there is a completely different trick:
show picture
show text (no text, background invisible)
erase picture
the show text will be invisible and without text, but the engine still waits for the confirmation of the show text before continuing.
theoretically you would need a parallel process checking the conditional branch every frame or so, but for something like waiting on a picture there is a completely different trick:
show picture
show text (no text, background invisible)
erase picture
the show text will be invisible and without text, but the engine still waits for the confirmation of the show text before continuing.
Woah, thank you so much! It works.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/conditional-branch-with-button-press-not-working.166357/