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:
- The nodes of all windows currently displayed are destroyed (frames disappear from the screen)
- The text nodes associated with all windows are also destroyed
- All internally managed window data is cleared
- 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
- Show Window (number
0, for main text) - Show Window (number
1, for character name) - Show Window (number
2, for status) - ...conversation scene flow...
- Hide All Windows ← close everything together
- 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
- Final processing of the event
- ... multiple windows may have been opened ...
- Hide All Windows ← close everything just in case
- 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
- Show Text ← "They attack!"
- Hide All Windows ← close all windows before battle starts
- Start Battle
Clean up the screen before transitioning to the battle screen.
Flow 4: Reset at event start
- (Coming from another event, windows may remain)
- Hide All Windows ← clear the screen first
- 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:
- Show Window (number 0, for main text)
- Show Window (number 1, for character name)
- Show Text × multiple times
- 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:
- ... multiple windows open in conversation scene ...
- Hide All Windows (this event content)
- Fade-out Screen
- Change Map
- 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 WindowsRelated Event Contents
| Related Event Content | Purpose |
|---|---|
| Hide Window | Close only a single window |
| Hide Text | Erase only text (window remains) |
| Show Window | Open a window |
| Hide All Images | Similar pattern for erasing all images at once |
Related Pages
| Page | Related Content |
|---|---|
| Event Content List | List 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.
