I would like to know how to use the if/elif/coding. I would like my story to kind of go into different directions where a choice will affect the story. I would like the choices that I have to have different outcomes in the story line. That’s where the if/elif/else coding comes in at. Here’s my script:
ASHDEN (think)
(Should I listen in?)
choice (SHOULD I LISTEN)
“Be an eavesdropper.”{
ASHDEN (talk_shrug)
(I want to know what their talking about.)
gain Be_an_eavesdropper
}“Do not listen in.”{
ASHDEN (talk_awkward)
(It would be wrong to be nosey.)
gain do_not_listen_in
}
if (Be an eavesdropper.) {
@ASHDEN is search
NARRATOR
Hi
} Do not listen in. {
ASHDEN (talk_shrug)
(I’m just gonna go in my office.)
@ASHDEN exits left
}
Both choices are very crucial to the story line so whatever choice the reader chooses, will see what will happen in the story based on those choices. Also, I have an error that says “Expected else or elif () after block.” I don’t know what the means.