Skip to content

Hide All Windows ​

Category: Message

An event content that closes all currently open windows at once. Without worrying about numbers, it erases all windows on screen together.

Simple operation with no properties

This event content has no properties. Its behavior is fixed just by being added.

Property List ​

None.

The function is fixed just by adding this event content. After adding, nothing is displayed in the property editing area.

Runtime Behavior ​

When this event content is executed, the following happens:

  1. The nodes of all windows currently displayed are destroyed (frames disappear from the screen)
  2. The text nodes associated with all windows are also destroyed
  3. All internally managed window data is cleared
  4. Automatically proceeds to the next event content (no wait)

When no windows are open ​

Executing this event content when no windows are open does not result in an error. It does nothing and proceeds to the next event content.

Does not affect other presentations ​

This event content erases only windows. The following are not affected:

  • Displayed images (those shown with Show Image) → remain as is
  • Choices / buttons → remain as is
  • BGM / sound → remain as is
  • Map / walking characters → remain as is

Typical Usage Flows ​

Flow 1: Collective cleanup at scene change ​

  1. Show Window (number 0, for main text)
  2. Show Window (number 1, for character name)
  3. Show Window (number 2, for status)
  4. ...conversation scene flow...
  5. Hide All Windows ← close everything together
  6. Change Map / Fade-out Screen, etc.

Can be done in one step instead of closing multiple windows individually.

Flow 2: Final cleanup at script end ​

  1. Final processing of the event
  2. ... multiple windows may have been opened ...
  3. Hide All Windows ← close everything just in case
  4. End Event / Move to Event

Useful for reliably clearing the screen in scenes where "it's unclear what state the windows are in".

Flow 3: Cleanup before battle ​

  1. Show Text ← "They attack!"
  2. Hide All Windows ← close all windows before battle starts
  3. Start Battle

Clean up the screen before transitioning to the battle screen.

Flow 4: Reset at event start ​

  1. (Coming from another event, windows may remain)
  2. Hide All Windows ← clear the screen first
  3. Start the processing of this event

Typical Combinations ​

This event content is used to close all windows at once at scene changes or when conversations end. See Combination Pattern Collection for the overall picture.

Termination processing for multiple windows ​

If multiple windows are open, close them all together instead of lining up individual Hide Windows:

  1. Show Window (number 0, for main text)
  2. Show Window (number 1, for character name)
  3. Show Text × multiple times
  4. Hide All Windows (this event content) ← close everything together

Cleanup before scene change ​

The classic pattern is to collectively clear remaining windows right before a map change or battle start:

  1. ... multiple windows open in conversation scene ...
  2. Hide All Windows (this event content)
  3. Fade-out Screen
  4. Change Map
  5. Fade-in Screen

Instead of lining up multiple Hide Windows ​

Save the trouble of lining up multiple Hide Windows:

※ Replace the following:
Hide Window (number 0)
Hide Window (number 1)
Hide Window (number 2)

↓ Can be consolidated into one:
Hide All Windows
Related Event ContentPurpose
Hide WindowClose only a single window
Hide TextErase only text (window remains)
Show WindowOpen a window
Hide All ImagesSimilar pattern for erasing all images at once
PageRelated Content
Event Content ListList of all event contents

Notes ​

Does not affect other UI such as choices or buttons ​

This event content erases only message windows. Choices, buttons, images, etc. are managed by other event contents and are not erased by this event content.

Once closed, windows cannot be restored by number ​

After closing all windows with this event content, re-displaying "Show Window" with the same number creates a new window, but the state before closing is not restored (size, position, etc. must also be respecified).

Use this event content instead of lining up multiple Hide Windows ​

When multiple windows need to be closed individually, instead of lining up Hide Window like this:

  • Hide Window (number 0)
  • Hide Window (number 1)
  • Hide Window (number 2)
  • ...

Using this event content once is simpler.