Somebody, help me
I don’t understand how to remember previous choice of outfit and basing on this choice change future outfit. I mean choosing an outfit later will depend on which swimsuit will wear my MC.
I did it like this
Then
But it didn’t work…
And my MC always change into third outfit.
1 Like
if (OUTFIT_1 is “Outfit 1”) {
} elif (OUTFIT_1 is “Outfit 2”) {
} else {
}
Can read more here: Using if/elif/else to Remember Past Choices
Example using the choice name and option method:
Name your choice by adding the name next to the word choice and put it inside parentheses. Choice names cannot have spaces: they can only be consisted of letters, numbers, and/or underscores.
Here is an example:
NARRATOR
What do you want to eat?
choice ( FOOD )
“Spaghetti” {
} “Donuts” {
} “Sandwich” {
}
TO REMEMBER THE ABOVE CHOICE, USE THE IF/ELIF/ELSE CODE WITH THIS FORMAT: (choice_name is "Option Name")
P.S feel free to check out: HOW TO: Reset Story Progress + Bonus Stuff :blob_sun: so you can test other paths.
1 Like
Try this
KATE
(Shall I wear this or try something else?)
choice
“Wear this” {
gain spot1
KATE
This is perfect.
}“Try something else.” {
goto xx
}
And so on for every outfit option, of course your gains have to have different names.
Then just put the gained names in your “if” just like you did.
1 Like
Looks like your method worked Thank u so much!
I don’t know what I would do without you
1 Like
I’m happy it worked Good luck with your story!
1 Like
system
Closed
August 25, 2019, 6:45am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.