I have had them explained to me, and I have done a bunch of reading. can someone please tell me what is wrong with this particular label, I am trying to give my character an option of kissing her date, I need to start giving choices in my story since she is going to have to pick between 3 guys, I don’t want to use gains, I’d like to use labels, so I need someone to explain it to me like I am a 4 year old… here is the label I am getting an IF error on.
NARRATOR
Your decision will not have an impact on the story.
choice
if (“Yes Girl, Let him lay one on ya!”){
goto label kiss_john
}else (“No girl, Just no”){
goto label kiss_john2
}
I just need it broken down in the simplest form possible, I don’t want choices impacting the consistency of my chapter releases.
I appreciate the help thank you in advance,
NARRATOR
Your decision will not have an impact on the story.
choice
if (“Yes Girl, Let him lay one on ya!”){ goto kiss_john
}else (“No girl, Just no”){ goto kiss_john2
}
I’m not particularly sure why my question was flagged, I don’t feel like it went against community standards, or that it wasn’t a creator question… but I am still getting the error IF: if message, I wrote the script you wrote verbatim, so I am still confused…
Thank you.
oh my god, I actually fixed it… yay! it was a block that was not needed, when you use if/else what do you put instead of choice? I got an unexpected dialog message when I removed choice…
Thank you so much for your help I appreciate it everyone
To be able to use if/elif/else the reader must have made a choice before, and with that choice, you have added a gain.
You have to add gains to use if/elif/else
choice
“Yes Girl, Let him lay one on ya!”{
gain kissed_john
goto label kiss_john
}
“No girl, Just no”{
gain john_nokiss
goto label kiss_john2
}
After making this choice, the system will take you to label. And will proceed as you wish. if/elif/else is used to remember the choice reader made. It could be used something like this:
BESTFRIEND
So, did you kiss John?
if (john_nokiss){
MC
Not really…
}
elif (kissed_john){
MC
Yes. I did.
} #script goes here after the possible outcome
I’ve tried to understand that guide for awhile, I guess my last question, if I use choices will they carry over into the next story, so when it comes to choosing the guy will the choice be remembered in the next chapter, or? I am thinking by your explanation that it being carried over and remembering if by using gains?
Gains will always be remembered throughout the same story. You can make a choice in episode 1, add gains and put it to work in episode 20. It would still work. It has to be the same story though, the same book.
I understand, Thank you so much Elx, I appreciate you and Atreus’s help, I guess I am better off using gains. thank you for explaining them in a way I was able to understand.
Moved to Directing Helps and Tips since this is about coding. Make sure to check out our Forum Tutorial for more info about where to correctly create topics, and feel to PM me if there are any questions.