Help my writing partner and I code an if/elif code!

Two choices, both about equal in terms of ease. Choose whichever one feels most natural to ya. :+1:

Label method, like Jillian described

NARR (ANNA)
How should I respond?
choice [timed:5]
“Silent”{

#scene

goto try_again

}“Address”{

#scene

goto continue_story
}

label try_again

NARR (ANNA)
How should I respond?
choice [timed:5]
< LOCKED>“Silent”{

goto try_again

}“Address”{

#scene

}

label continue_story

#rest of the story here

Nested if-else method - In short, have an if-else and a gain to know whether the character has seen that choice before

Note: I bolded the outer layer.

label anna_response

if (second_try){
NARR (ANNA)
How should I respond?
choice [timed:5]
< LOCKED>“Silent”{

goto anna_response

}“Address”{

#scene

}
}else{
NARR (ANNA)
How should I respond?
choice [timed:5]
“Silent”{

#scene

gain second_try
goto anna_response

}“Address”{

#scene

}
}

2 Likes