Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.

Visit our new games list, blog aggregator, IRC channel, and Discord (new).
Activation problem? Email pytom@bishoujo.us.
It is currently Tue Jun 27, 2017 11:39 am

All times are UTC - 5 hours [ DST ]


Forum rules


This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like, and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Player Choices [Solved]
PostPosted: Thu May 18, 2017 11:50 pm 
Newbie

Joined: Wed Apr 19, 2017 6:30 pm
Posts: 5
Sorry for having so many doubts xD

Is there a way to make all the choices appear on the menu, even if the player can't choose one because he doesn't have enough points?


Last edited by Mayuko on Fri May 19, 2017 3:06 pm, edited 1 time in total.

Top
 Profile Send private message  
 
 Post subject: Re: Player Choices
PostPosted: Fri May 19, 2017 2:53 am 
Veteran
User avatar

Joined: Sat Jan 07, 2017 3:09 pm
Posts: 212
You can do something like this:

Code:
label whatdoyousaytoher:
menu:
    "What do you say to her?"
    "Hello!":
        "You say hi to the girl."
         ...
    "Did you see John anywhere?":
        "You ask her."
         ...
    "So, wanna go have coffee?":
        if courage < 5:
            "You do not have enough {b}courage{/b}..."
             jump whatdoyouaskher
        "Hey, let's go have coffee!"


That if statement will only run if you don't meet the requirement to do the action and it will loop the player back to the menu.


Top
 Profile Send private message  
 
 Post subject: Re: Player Choices
PostPosted: Fri May 19, 2017 3:06 pm 
Newbie

Joined: Wed Apr 19, 2017 6:30 pm
Posts: 5
Ooh, that really helped. Thank very much ^^


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: vollschauer


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group