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.
I know I can make a menu, name it, and jump back to that, but if I make a named menu, I need to add a menu choice, which isn't exactly ideal for players.
Any help is appreciated, thanks in advance!
Aight, just realized I can name a menu, give a false variable to a single menu option, so it gets skipped automatically, but still, if there's a better solution, I'm all ears.
- Eileen-Class Veteran
- Posts: 1480
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
Why is a label not suitable? It sure is less to type than a menu...
If you wanted just a reference to a mid point in some label you could just create another label and (because Ren'Py is rather forgiving about label indentation) you can even indent it:
Code: Select all
label start: scene forest "1" label mid_of_start: "2" "Note: you cannot go back to being in label start though" # etc label elsewhere: scene lakeside jump mid_of_start # which would be showing lakeside
You could also consider local labels, named with a dot at the start
Code: Select all
label start: "1" label .mid: "2" jump .mid ## jumps to start.mid as we are still within the scope of start label finale: label .mid: "Yes we can use the same local name" jump .mid ## jumps to finale.mid jump start.mid ## jumps to start.mid by using the parent prefix
Users browsing this forum: No registered users