I’m assuming you’re allowing the reader to choose their name. So can I see your code please
I think this is what you are asking for:
This is your basic naming function: input What’s your name?|What’s your name?|Done(NAME)
So if you name your MC YOU, then put YOU in the function and the readers chosen name will appear on the speech bubble
ie.
input What’s your name?|What’s your name?|Done(YOU)
Do you know how to script the narrator-type bubbles that show up at the top or bottom of the screen? I’ve seen them in several stories and want to use them on my own, but I can’t figure it out.
Thank you! What about the ones that show up at the bottom?
It’s a newest update it’s not appearing from the bottom anymore
Support this idea to let us choose
Hello!!! I need help with coding and gains.
So, the dressing choices on my story are coded like this:
label outfit3i3
OPHELIA (think)
(What should I wear on this historic day?)
choice
“God Save the Queen.”{
@OPHELIA is dustoff_loop
@OPHELIA changes into OPHELIA V dress
@OPHELIA is shiftweight
@pause for a beat
goto outfit3i3
}“Anarchy in the U.K.”{
@OPHELIA is dustoff_loop
@OPHELIA changes into OPHELIA black pants and leather
@OPHELIA is shiftweight
@pause for a beat
goto outfit3i3
}
“Pretty Vacant.”{
@OPHELIA is dustoff_loop
@OPHELIA changes into OPHELIA goth
@OPHELIA is shiftweight
@pause for a beat
goto outfit3i3
}
“Choose this outfit.”{
OPHELIA (idle_happy)
(Perfect.)
}
And it’s all good until I want the character to keep the same outfit in the next episode. My question is, if I use that format and add gains on each outfit choice, would it work to remember that choice in the next episode? Or would I have to change the format of the script, making them choose ouftif and deciding if wearing it or not in the next “screen”? (And I also have the same question for lipstick and hair choices)
I don’t know if I explained myself very well, sorry haha. but I could really use your help!
No, gains is definitely the way to go.
If you add a gain to the end of every outfit choice, and in the next episode you use if/elif/else, the outfit will automatically be on.
It’s still might be messed up, because the reader can try 3 outfits and gain each one
Yeah that’s what I’m worried about. If I make them pick an outfit and then take them to the “yes/no” choice, then it would work well, right? because the goto thing would take them to the outift choice all over again, right? Sorry for being so confused about this but I still have trouble understanding the coding haha
No I get it, if you go a yes or no option, it shouldn’t effect your gains
Yea, she needs to add a yes or no option
I know it can be confusing. Would you like the code I recently used?
Yes, please! That would be life saving
You know what, too much info I think lolll
Let me just give you a code without gain since you already have something set up. I’ve used your code and added things, the new things will be in bold.
label outfit3i3
choice (DressingGame1)
“God Save the Queen.”{
@OPHELIA is dustoff_loop
@OPHELIA changes into OPHELIA V dress
@OPHELIA is shiftweight
@pause for a beat
goto yn1
}“Anarchy in the U.K.”{
@OPHELIA is dustoff_loop
@OPHELIA changes into OPHELIA black pants and leather
@OPHELIA is shiftweight
@pause for a beat
goto yn1
}
“Pretty Vacant.”{
@OPHELIA is dustoff_loop
@OPHELIA changes into OPHELIA goth
@OPHELIA is shiftweight
@pause for a beat
goto yn1
}
label yn1
NARRATOR
Are you happy with this?
choice
“Yes!” {
OPHELIA
Amazing!
goto continue_story
} “No!” {
OPHELIA
Redo!
goto label outfit3i3
}
label continue_story
Then in the next episode add this in the beginning:
if (DressingGame1 is “God Save the Queen.”) {
@OPHELIA changes into OPHELIA V dress
} elif (DressingGame1 is “Anarchy in the U.K.”) {
@OPHELIA changes into black pants and leather
} else {
@OPHELIA changes into goth
}
Let me know if you have any questions or if the code doesn’t work
Thank you so much!! I actually had no idea about the “named” choices thing, it’s very helpful! Thanks!
And I have another question, would I have to do the same with the hair and lipstick? Or it stays the same way from one episode to another?
If your giving the reader the choice, then yes you do.
Thank you so much! Everything worked perfectly!
I’m sooo glad