Having more than one flag in a line


#1

Hey guys! I wanted to create something what will be explained beneath.
Bur I dont know how it could work or if it would work at all. I hope you understand what I mean:

label search_again
YOU

choice

“Search east.” {

blablabla

gain search_east
}

“Search south.” {

blablabla

gain search_south
}

“search west.” {
blablabla

gain search_west

}

A COMMENT: So now I want to make the player click on all the choices before he can play the rest. And I don’t know how to do that. I thought that I hve to place all the flags in one line, but does that work? Here’s what I mean:

if (search_west and search_south and search_east) {

blabla

goto on_with_story
}

goto search_again

label on_with_story

blabla

But I’m pretty sure that the flags are wrong placed, but I dont know how to do it correctly. Do you get what I mean? The reader should be only allowed tp continue when he has all flags(= he clicked on every choice)
Please help!

Thanks!
:slight_smile:
:smile:


#2

if (search_west) {
if (search_south) {
if (search_east) {
goto on_with_story
} else {
goto search_again
}} else {
goto search_again
}} else {
goto search_again
}


#3

Thank you! :smile:


#4

#5

Solved and closed. :smiley: