[SOLVED] Need help on not hiding NVL text when choices appear

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
User avatar
jingleriot
Regular
Posts: 25
Joined: Mon Sep 05, 2016 7:53 pm
Projects: Ventio Mortis, Sector Chimera, Monster Party
Deviantart: jingleriot
itch: https://jingleriotga
Contact:

[SOLVED] Need help on not hiding NVL text when choices appear

#1 Post by jingleriot »

EDIT: found a semi-solution of just using the extend function. Not exactly right, but it gets the job done and I'm happy enough.

I'm trying to create an immersive chat system for a lil side project of mine. No matter how much I google or read the documentation, I can't understand how not to hide the NVL text when a choice menu appears. I could certainly use help on how exactly to achieve that? To understand what I'm trying to do a little better, I'll post screenshots of what it's CURRENTLY doing which I DO NOT WANT it to do.

la-de-da, dialog is working
1.png
OOPS A CHOICE. DID YOU WANT IMMERSION? I SHOULD THINK NOT.
2.png
oh, back to dialog again like nothing happened!
3.png
basically i just want the choices to appear in the bottom like they are, but also continue to display the dialog?? yes pls any help is appreciated.

sidenote:
This code doesn't achieve what I want on account of how many menus are within menus in my game + you can only display one line of dialog at a time within a menu

Code: Select all

menu:
    "This is just a dialogue window."
    "This is a choice":
        "yep."
and this is the code i'm fiddling with for reference

Code: Select all

label deth1:
    nvl clear
    show pdeth
    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} sup"
    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} u just join"
    menu:
        "Start Chatting.":
            sp "{b}[un]:{/b} Hey!"
        "Nevermind.":
            $ deth = 0
            jump chatreturn
            
    menu:
        "Is it obvious?":
            sp "{b}[un]:{/b} That obvious, huh?"
            sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} i guess"
        "No.":
            sp "{b}[un]:{/b} No."
            sp "{b}[un]:{/b} I had this before, just never used it."
            sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} ok"
    menu:
        "Tell me about yourself.":
            sp "{b}[un]:{/b} So, tell me about yourself."
            sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} u mean like a/s/l"
            menu:
                "Sure.":
                    sp "{b}[un]:{/b} Sure."
                    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} oh"
                    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} ok"
                    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} im 24 always and my house"
                    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} wbu"
                "No, like favorite food, ect?":
                    sp "{b}[un]:{/b} No, I meant like your favorite food, favorite color, favorite music?"
                    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} oh"
                    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} ok sure"
                    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} fav food is uh"
                    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} damn you already stumped me buddy"
                    sp "{color=#7c0000}{b}xx420dethxx:{/b}{/color} why dont you tell me yours first so i can think about it"
                    
        "Ok bye":
            sp "{b}[un]:{/b} Ok bye"
            jump chatreturn
    nvl clear
    hide pdeth
    jump chatreturn
    

Post Reply

Who is online

Users browsing this forum: Google [Bot]