Hi everyone, I was wondering if I could get a hand with conditional branches, I've read the FAQ but still can't seem to get anything working. For example one of my conditions set in an early chapter is "Virgin" I set up a later chapter to be view able if you have this condition but when I test the story there is no way to view the chapter, even with the correct variable. Has anyone got any advice on where i've gone wrong?
Make sure that the condition is set up correctly (via "changes to the score") and active (check that you see it on the "score" tab). If you see it, then the later chapter must be at fault and "the conditions to view the chapter" not set up correctly. A spelling mismatch of the variable perhaps? Or the logic is not right? If you can't find the problem on your own, you could provide screenshots.
I guess you want to follow the "Not a virgin" path and then jump to the "Virgin" path. If you then reach a chapter which checks if Virgin is FALSE, it will always fail with the result that the chapter isn't accessible. To avoid that, there are more ways. 1. Define all variables before the branching point. You could define the variables "Not a virgin", "Virgin" and all others you need for the sidepaths in the chapter "Open Matcher" and assign FALSE. You can set the visibility to "invisible" to hide them. Then, you can change only the specific variable on the decision chapter.2. Define all variables on the decision chapter. You can define all variables "Not a virgin", "Virgin" and all others you need for the sidepaths in each decision chapter and set all to FALSE and invisible except the one Variable you want to be TRUE. Set it accordingly and set the visibility to "visible"3a. Use a numeric variable instead. You can use a numeric variable "sex-exp" which is able to hold more than 2 states. E.g. 0 represents "Virgin" 1 represents "Not a virgin" 2 represents "Experienced" In this case it is enough to set the variable only once in each decision chapter. (If you want to "show" the status "Virgin" in the sidebar, you would have to create another boolean variable which only serves this purpose. If you want to show the status "Virgin" within the chapter text, you don't need this additional boolean variable.) In the chapter where you check the condition you could now use these conditions: sex-exp < 1 (chapter is only accessible to "Virgins") sex-exp > 0 (chapter is only accessible to "No Virgins" and "Experienced") sex-exp > 1 (chapter is only accessible to "Experienced") I would hide the variable sex-exp as the reader won't understand the meaning of the numbers.3b. Use a progress variable. You can use a progress variable "sex-exp" which could represent an unlasting number of states. It would be the same as shown in 3a just using a progress variable. The states would be different though 0 represents "Virgin" 1-10 represents "Not a Virgin" 11-50 represents "You know what you do" 51-90 represents "Experienced" 91-100 represents "Pro" (adjust conditions accordingly) This kind of variable would be better if you want to show it in the sidebar. (Though then I'd rather name it "Sexual Experience" or sth) If you have further questions, feel free to ask