That is super helpful and will definitely get me started on the right path. I was going to have multiple scenarios, and most likely 4 total variables. I was going to do a simple “skill system” where they player gets to choose what the character is good at at the beginning (strength, stealth, etc.) and also the variable if they save their companion.
I’ve got the paths written out and the variables necessary for each one, but from looking at it, the requirements to move down different paths may vary. Sometimes I may have 3 paths instead of 2, or some options may require 2 true variables (strength skill + Friend Alive). My guess is I will need multiple different methods for each of these, but some requirements will overlap and I can reuse those methods (maybe?). That’s why I think I need a way to attach a method to the scenes, to make sure each scene is using the correct method.
I have around 80 scenes for the basic story and am planning on adding a few more, so I expect it to be a little complicated XD.
Thanks again for the guidance, I’m really enjoying this!
EDIT: I was re-reading your post and was thinking about it the branching paths options. If at the beginning of the story I had 3 choice path, where the player chose a skill, would I then have to triple the amount of scenes I have? It would remove the need for the variables I think, but I don’t know if it would be worth having to make so many scenes. Of course I could re-use some of the story writing, but I’d still need separate scenes with the proper paths attached. At the very least it would take it from around 80 scenes to 240, so I don’t know if that would be more efficient than working out the variable option with different methods. Anyways, thanks!