(solved) Controls locked after summoning Airship

I want to make a "Summon Airship" command, as seen here.

1638697466862.png


When I press PageDown, the Airship spawns and the Player lifts off, so far so good. Then I cannot control it, arrow keys are not working and I cannot land. But, I still can open the menu. When I get on the Airship the ordinary way, everything works fine.

Blank project, no Common Events, other Events, or Plugins active.
I'm not sure, but it might be because the conditional branch overrides the options on keyboard check by checking for the pagedown.

however if that is the case it is easy to circumvent and test: you don't have to test for that button sixty times per second as no player can press the button that fast.
so simply add a wait(10) before or after the primary conditional branch, that way you only check for page down six times per second and allow the regular controls the rest of the time.

and next time, please post the entire event window - especially if the tip above doesn't help, because there are a few other possibilities I can't check due to missing event parts.
Adding a Wait worked, but it wasn't smooth. Sometimes hits were not triggered correctly. But your post made me think in the right direction. I changed the Conditional into "is being triggered" and removed the wait; now it works!
Sometimes hits were not triggered correctly.
that is usually an indicator of the wrong number of waits, and the reason why you have to experiment to find the correct number (which could be both higher or lower because that effect can describe two different causes for lag).
just as info for the next timing proble since you solved this with a different way.

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/solved-controls-locked-after-summoning-airship.142730/