[SOLVED] Adding Player Choices to History Screen

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
codenewbie
Newbie
Posts: 18
Joined: Tue Apr 17, 2018 11:21 pm

[SOLVED] Adding Player Choices to History Screen

#1 Post by codenewbie » Fri Nov 16, 2018 12:46 am

Hello! I'm putting dialogue into the actual choices themselves and I'd like for this to reflect in the game's history. Is this possible, and where do I start? Thank you!
Last edited by codenewbie on Fri Nov 16, 2018 8:45 pm, edited 1 time in total.

DannX
Regular
Posts: 99
Joined: Mon Mar 12, 2018 11:15 am
Contact:

Re: Adding Player Choices to History Screen

#2 Post by DannX » Fri Nov 16, 2018 10:36 am

You could just add a dialogue statement after each choice.

Code: Select all

    menu:
        "Hello World!":
            
            e "Hello World!"
            
        "Dancing is great!":
            
            e "Dancing is great!"
It looks repetitive, but other ways are likely to be more convoluted, you'd have to maybe for example modify choice screen (or even the choice objects) so it creates a HistoryEntry object and appends it to _history_list variable.

codenewbie
Newbie
Posts: 18
Joined: Tue Apr 17, 2018 11:21 pm

Re: Adding Player Choices to History Screen

#3 Post by codenewbie » Fri Nov 16, 2018 8:45 pm

Alright. Thank you nevertheless. :)

Post Reply

Who is online

Users browsing this forum: Bing [Bot], _ticlock_