I'm trying to create a story where I want an option to affect an option later in the story, but I don't want to have to make a completely double the amount of paths. Is there any way to do this? I've looked at the wiki, but either I'm having a dur moment or I missed something. So, if it's something the wiki could explain, feel free to link me to the page. Thanks in advance.
Example: Player gets the option to pick up a magic book early in the story. Towards the end of the story the book can be used to defeat the evil villain. How do I make that happen without having to make an entire duplicate of the story branch?
Comments
1. Initialize your variable in the special StoryInit passage, you can create it using the Story > Special Passages > StoryInit option. 2. In the passage in which the player obtains the Magic Book add the following: 3. In the passage in which you want to check if the player has the Magic Book add something like the following: The wiki has information about variables, the set macro, the if/else macros, as well as many other things related to Twine 1.x