I need some help with remembering choices for a dressing game.
I have the if/elif/else coding in my script in the next scene after the dressing game. It’s at the top under the background choice.
For some reason it’s not changing to the pick of choice. I used Dara’s template and changed the outfit names to the names that I put in my dressing game.
This is my first time using this so I’m not sure if I’m missing something or not, any help would be much appreciated
JemU776
February 24, 2020, 3:10am
2
Could you show your code?
JemU776
February 24, 2020, 3:14am
4
what does your original dressing game have? May I see a screenshot of that as well?
JemU776
February 24, 2020, 3:19am
6
#OK , so your if/elif/else should say:
if (OUTFIT_1 is “Outfit 1 ”) {
@HUNTER changes into hunter_outfit2
} elif (OUTFIT_1 is “Outfit 2 ”) {
@HUNTER changes into hunter_outfit3
} else {
@HUNTER changes into hunter_outfit1
}
#Your option name needs to match.
Here’s more information on 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")
if ( FOOD is “Spaghetti”) {
[scene for spaghetti choice here]
} elif ( FOOD is “Donuts”) {
[scene for donuts choice here]
} else {
[scene for sandwhich choice here]
}
&
Your choice name and option titles need to match exactly
If your choice name is “ YUM_food ” and your option name is “I LoVe DonuTS!!” , then the format for the if/elif/else needs to be (YUM_food is “I LoVe DonuTS!!”)
thank you sooooooooooooooo much!!!
system
Closed
March 25, 2020, 2:49pm
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.