Hi guys
I need your help urgently.
Actually FIRSTNAME and depending on which of her friends she has chosen before, should slip into a costume at the same time, but unfortunately this doesn’t happen.
FIRSTNAME does change, but Vanity / Viscardi in this case does not.
So, what’s wrong with my code?
Does anyone have a solution?
HERE IS THE CODE:
NARRATOR
Great!
Now, choose your halloween costume for both of you.
choice
“Pumpkin’s Ghost” {
if (Vanity) {
@VANITY changes into VANITY_hw1
@pause for 0
@FIRSTNAME changes into FIRSTNAME_hw1
@pause for 2
NARRATOR
Would you like to wear this costume?
choice “Jabadoo!” {
goto choose_animation
} “No, absolutely not.” {
goto choose_outfit
}
} elif (Viscardi) {
@FIRSTNAME changes into FIRSTNAME_hw1
@pause for 0
@VISCARDI changes into VISCARDI_hw1
@pause for 2
NARRATOR
Would you like to wear this costume?
choice “Jabadoo!” {
goto choose_animation
} “No, absolutely not.” {
goto choose_outfit
}
Thanks in advance!