Hi! So, I use choice naming for outfit choices. In episode 4 of my story, I have this:
choice (OUTFIT_3)
“Best in Red”{ @YOU is dustoff_neutral_loop @YOU changes into YOU_9 @pause for a beat
}“Strawberries and Cream”{ @YOU is dustoff_neutral_loop @YOU changes into YOU_10 @pause for a beat
}“Plaid’s in Fashion, Right?”{ @YOU is dustoff_neutral_loop @YOU changes into YOU_11 @pause for a beat
}“I <3 Olive”{ @YOU is dustoff_neutral_loop @YOU changes into YOU_12 @pause for a beat
}
However, in episode 6, I’m trying to use the if/elif/else to make the character change into the previous outfit. Here’s the code:
if (OUTFIT_3 is “Best in Red”){ @YOU changes into YOU_9
}elif (OUTFIT_3 is “Strawberries and Cream”){ @YOU changes into YOU_10
}elif (OUTFIT_3 is “Plaid’s in Fashion, Right?”){ @YOU changes into YOU_11
}else{ @YOU changes into YOU_12
}
Whenever I use this, though, it keeps defaulting my character to the “else” option. Everything looks right, and I’ve used this method previously. Help?
This is because you have no gains or points so your script won’t remember the outfit you chose by simply changing into them unfortunately:(.
You could try points if you don’t like gains like so
choice (OUTFIT_3)
“Best in Red”{ @YOU is dustoff_neutral_loop @YOU changes into YOU_9 @OUTFIT =9 @pause for a beat
}“Strawberries and Cream”{ @YOU is dustoff_neutral_loop @YOU changes into YOU_10 @OUTFIT =10 @pause for a beat
}“Plaid’s in Fashion, Right?”{ @YOU is dustoff_neutral_loop @YOU changes into YOU_11 @OUTFIT =11 @pause for a beat
}“I <3 Olive”{ @YOU is dustoff_neutral_loop @YOU changes into YOU_12 @OUTFIT =12 @pause for a beat
}
if (OUTFIT =9){ @YOU changes into YOU_9
}elif (OUTFIT =10){ @YOU changes into YOU_10
}elif (OUTFIT =11){ @YOU changes into YOU_11
}else{ @YOU changes into YOU_12
}