If (flag not gained) code


I think I’ve read somewhere that you could put an x in front of a gain if you want for stuff to happen if a certain flag isn’t gained, but without assigning a specific gain for that situation. For example:

*choice *
“Explore.” {

gain explore

} “Go home.” {

Whatever, I’m out.


And then if I later, in a different episode, want to write what happens if the “Explore.” option was chosen, I could just write:

if (explore) {

But if I don’t want to use if/else and want to write something that happened if the “Go home.” option was chosen? I think I saw something like:

if (x explore) or maybe if (x_explore)

Something like that :face_with_monocle: I can’t find it anywhere anymore :disappointed_relieved:
I know I could just assign a flag to that option as well, but I want to know about this “x” thingy now.
Can someone explain? Does this even exist or did I dream it :sweat_smile:

Check out this guide: Enable/Disable Choice Options with Conditions

1 Like

That’s where I saw it! I didn’t know what it was called. Awesome, thank you :smiling_face_with_three_hearts:

1 Like

Closed: Marked as solved by thread op :v: