Display Log Screen
Category: System
An event content that forces open a log screen where the history of previously displayed text messages can be viewed. Used in situations where you want the player to re-check past text, such as "organizing information after a long NPC conversation", "staging that looks back on past dialogue as a quest progresses", or "a tutorial that explains 'messages can be reviewed in the log'".
A simple event content with no properties
This event content has no properties. Simply adding it opens the log screen.
Only text with "log recording ON" remains in the log
Only text displayed with the Show Text event content with log recording (is_log) ON appears on the log screen. Messages that you do not want to leave in the log, such as a brief tease or an aside, will not be accumulated in the log if you set is_log to OFF in Show Text.
Property List
There are no properties. The specification is that the log screen opens the moment this event content is added.
Log Screen Contents
Items Displayed
- Title (text specified in the translation data, such as "Log")
- List of past text messages (latest at the bottom, older ones at the top)
- Back button
Log Accumulation Rules
Text left in the log is text that meets the following conditions:
- Was displayed with Show Text
- The log recording (is_log) property was true (default) at display time
- Image tags (
[img ...]...[/img]) and BBCode tags ([color=...],[b],[i], etc.) are automatically removed and only pure text remains - A line whose body becomes empty after tag removal is not saved
Maximum Retention Count
The log retains up to 100 entries (Define.MAX_LENGTH_LOG_LINE). When 100 is exceeded, lines are automatically deleted from the oldest.
Translation Reflection
Each line in the log has the translation data applied at display time. If you switch the language and reopen the same log screen, the text for the other language corresponding to the translation key is displayed (when the translation key is saved directly as the body).
Runtime Behavior
Flow of Processing
- Stop input of other HUDs: To prevent duplicate input while the log screen is open,
enable_process(false)is called on other HUDs - Open the log screen: A list UI displaying a title + log bodies arranged vertically is shown
- Auto scroll: After the list is generated, it automatically moves to the bottom (the latest log)
- Wait for player operation:
- Back button or cancel input → close the log screen and proceed to the next event content
- To the next event content: Proceeds when the log screen is closed (after a 0.1 second wait)
Tag Removal Behavior
When Show Text displayed text containing color tags such as [color=red]Danger[/color], only "Danger" is recorded in the log.
[img ...]...[/img]pattern (image tag): The entire image is deleted- Other
[...]patterns: The tag itself is removed (including the closing tag)
This is designed so that the log is "something you can look back on only for the textual information"; the visuals at display time are lost, but the sentences can be re-read.
Operation Feel
- You can select a log line via mouse hover / arrow keys (nothing happens on select; viewing only)
- Press Cancel or the back button to close the log screen
Input of other HUDs is stopped
While the log screen is open, input of other HUDs such as images, text, choices, buttons, and screen effects is stopped. It automatically resumes when the log screen is closed.
Saving to Save Data
The log is saved to save data as save_data.log, so past logs are carried over on save → load. The last 100 entries at load time are retained.
Typical Usage Flows
Flow 1: Information Organization after a Long Conversation
Prompt a review in the log after a long NPC explanation:
- (a lot of Show Text producing a long conversation scene)
- Show Text: "That was a lot of information. Let's review it in the log."
- Display Log Screen (this event content)
- Show Text: "Let's continue once you've checked again."
Flow 2: Referring to Past Conversation during Quest Progression
Remind the player of a quest goal:
- Show Text: "What did the NPC say back then...?"
- Show Selection Window: "See the log / I remember"
- (branch to "See the log" choice)
- Display Log Screen (this event content)
- Show Text: "Ah, that's right!"
Flow 3: Tutorial Introducing the Log Feature
Teach the existence of the log feature in the early game:
- Show Text: "You can review displayed messages in the log."
- Display Log Screen (this event content)
- Show Text: "If you get lost, try checking the log."
Flow 4: Re-showing a Hint in a Puzzle Event
Let the player re-check a past hint in a puzzle:
- Show Text: "Forgot the hint? Let's check the log."
- Display Log Screen (this event content)
- (puzzle event resumes)
Typical Combinations
- Show Text: Text that goes into the log. Only ones with is_log=true are targets
- Show Selection Window: Present the "See the log / Don't see" branch
- Conditional Branch (If): Flag check for "force-show the log screen only on first time"
- Wait: Allow time to read messages before opening the log screen
Related Events
- Show Text: Controls log accumulation via the log recording (is_log) property
- Display Save Screen: Opens the save screen
- Display Load Screen: Opens the load screen
- Display Setting Screen: Opens the setting screen
Related Pages
- Show Text — The source of text that remains in the log
- Text Special Notation — Background on tag removal behavior in the log
Notes / Constraints
Only Show Text (is_log=true) is retained
Text other than Show Text, such as the display text of Add Choice, button labels, or image alt text, is not retained in the log. Design so that important information is shown through Show Text.
Tags are stripped so decoration is lost
In the log screen, decoration tags such as [color=red]...[/color] are stripped before display. "Warning messages emphasized in red" become plain unstyled text when reviewed in the log, so the display-time impact is not conveyed to the player.
Image tags are deleted entirely
Images embedded in text ([img ...]...[/img]) are also deleted from the log. "Messages with an icon" are shown without the icon in the log.
When the max of 100 is exceeded, old logs are removed
When 100 is exceeded, logs are deleted in order from the oldest. The tool does not support "keeping important early-game information all the way to the endgame" (we recommend a design that explicitly re-presents important information through variables or character dialogue as the game progresses).
Empty lines are not saved
Lines whose body becomes empty after tag removal (for example a line that is only [img ...]...[/img]) are not saved to the log. Even if you open the log screen, such lines will not be shown, so "messages that are only images" cannot be reviewed in the log.
Players can also open it from the menu
Even without using this event content, players can open the log themselves from the menu screen during normal play. Use this event content for staging purposes of "interrupting during the flow of an event".
Behavior after Cancel
When the player cancels and closes the log screen, the next event content after this one is executed (after a 0.1 second wait). Guide the player through "whether to see the log" with a choice, and have the flow proceed to the next event once they are done.
