mjshi wrote:
How does this work and how would you be able to actually use them in the script? And, where are you supposed to place this in- what's a style system?
What if you wanted to use BOTH ADV and NVL style menus?
A style system is just a way that Ren'Py keeps track of how everything is supposed to look. So, basically the NVL style is the thing that tells Ren'Py that text is supposed to go on a large screen and that the menus look like links instead of buttons. The style system is built to have stuff work without having to change anything, but it also lets you make your own and give them your own name.
I was able to switch menus in my prologue by doing the following.
First, before the introduction text, I put this:
Here I am creating a new variable called "adv_menu". I set it equal to "menu," because by default, "menu" has the adv style. I am storing it in "adv_menu" for safekeeping. You can put this in your script anywhere as long as it's before you start switching menus. I have it right before the first line of my prologue.
As a note, I am not creating a variable "nvl_menu", because that one is already there!
Now, whenever I wanted to use a NVL menu, I did this right before the menu:
"nvl_menu" has all of the styles of the NVL style menu, so I am telling Ren'Py, "Hey, take the menu and use these."
That's all fine and dandy, but how do I switch back?
This is why I stored the ADV style menu in a variable called "adv_menu". Here I am telling Ren'Py to take the menu and use those. I was basically able to flip back and forth between menus by using the line "$ menu=nvl_menu" or "$ menu=adv_menu" whenever I wanted to switch.