In need of help trying to fix my code to remember a choice from a previous episode. I don’t know if I set up the gains wrong in EP2 and that’s why it’s not set up right in EP3, but I’d appreciate some one on one help, thank you.
Use a gain and then when you want to remember the choice you if/elif
Did you have a specific scene? Leave the code here (:
you didnt do else option?
I don’t need it, I only have the two options for dialogue.
if (told_zo) {
ZO
Dialogue
} else {
ZO
Why didnt you tell me? (idk)
}
You do need it, you dont need elif (that’s for 3 options)
Ohhhhh okay I see lolol thank you
Let me know if it works!
Okay, testing it now!
I’m going to need to see the actual full scene you can DM me to keep it private if you dont want your story out there yet
Lol yes please. I’ll send it shortly.
Just to let you know, you don’t need an else option. Although it makes the most sense to use else if you only have 2 things you’re referring to so that you don’t have to type out so much, it’s faster to just put else. So that wouldn’t cause you a problem even if you only used if and elif. You can even just use if, if you wanted to only refer to one gain. Such as
if (special_scene) {
#whatever happens here if you’ve gained special_scene
}
You don’t need else but if you do, don’t add (flag).
If (flag){
Script
} else {
Script
Like other person said, you can just have “if” or just “if and elif”.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.