[SOLVED] Dialogue History > Hiding or removing lines from History?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
017Bluefield
Regular
Posts: 93
Joined: Mon Dec 30, 2013 1:55 am
Projects: Project Bluefield - Origins
Organization: Autumn Rain
Deviantart: playerzero17
itch: autumn-rain
Contact:

[SOLVED] Dialogue History > Hiding or removing lines from History?

#1 Post by 017Bluefield »

So this probably isn't a good idea in the long run, but I've been scouring search results for "hide lines" from the History log and have come up with nothing.

How do I keep given lines from being recorded in History? So that when the player checks History, certain lines that appear in the Dialogue box (such as a disclaimer) do not appear there?
Last edited by 017Bluefield on Thu Jul 05, 2018 1:47 am, edited 1 time in total.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Dialogue History > Hiding or removing lines from History?

#2 Post by Imperf3kt »

Make the text on a screen that doesn't use the say window.

Something like

Code: Select all

screen ui_text():
    add text "disclaimer" at center

label start:
    window hide
    show screen ui_text
    window auto
You could also make the text editable so you can reuse the same screen, to show different texts. I don't remember how this is done though. Parameterised text?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

017Bluefield
Regular
Posts: 93
Joined: Mon Dec 30, 2013 1:55 am
Projects: Project Bluefield - Origins
Organization: Autumn Rain
Deviantart: playerzero17
itch: autumn-rain
Contact:

Re: Dialogue History > Hiding or removing lines from History?

#3 Post by 017Bluefield »

Hmm... Okay? I think I got the principle of it.

But what about stuff that does use the window, or at least the lower third? I'm trying to have my game "talk" to the player about some brief-but-important things before the story starts (this is after clicking the New Game button).

017Bluefield
Regular
Posts: 93
Joined: Mon Dec 30, 2013 1:55 am
Projects: Project Bluefield - Origins
Organization: Autumn Rain
Deviantart: playerzero17
itch: autumn-rain
Contact:

Re: Dialogue History > Hiding or removing lines from History?

#4 Post by 017Bluefield »

Found what I was looking for here: viewtopic.php?t=43654

Post Reply

Who is online

Users browsing this forum: No registered users