Ehrm, "wait/delay" command after a window close or before the next "action".

Hi, first post. 🙂

I'm not a programmer, neither experienced Rpg Maker. In fact i just started this month.
But i'm not merely adopted the internet, i was born in it... molded by it. I didn't see the outside light until I was already a man, didn't enjoyed the graphics, cool GM's though.

Anyway... TL;DR mode:

1. To hell with Battle Transition (and the 1 frame black screen)

... 3 hour later ...

2. Easy, done... What ? There's a "out/end" transition too?

... 1 eterny later ...

3. Ok, done ... But i removed so well that the last screen is bugging and it don't even close, so that the next events trample in it.

... asking for help, i give up ...

4. Delay after the screen close, or before next action ? And how ?

I will try to up a *.gif (to illustrate maybe i was vague) but i think is simple for who writes codes, the "try and error" here is consuming me.
This is not the clearest explanation of a problem.
I am assuming that you have written a piece of code which isn't doing what you need.
It would probably be helpful, therefore if you posted your code so far, and give us the precise error message that it throws. Perhaps a readout of the info in the console?
Please note, when posting code you need to use 'Code' from the dropdown menu of the Insert icon, or else the forum software will mess it up badly.

As this appears to be about coding rather than eventing...
Moved to: Javascript/Plugin Support
your post reads very confusing - basically you should post the question and what you have done, not how much time you wasted on what.

That said, one of the possible causes for your misunderstanding is a misunderstanding what wait really is.

You cannot wait or delay any program - that would simply freeze the computer and cause people to grab for the reset switch.
what you do is tell the computer to skip execution of something for a time while the rest of it continues to work.
So your question needs to specify what you want to wait, not only a general wait.

You might want to follow the link "bughunting" in my signature to learn more about the main game loop and what it contains.
i did a "work around". Problem solved. Thanks Kes and Andar for your attention.

Original thread: https://forums.rpgmakerweb.com/threads/ehrm-wait-delay-command-after-a-window-close-or-before-the-next-action.91561/