Can I have empty gains


#1

I want an item to appear later in the story (if the reader collects it)
if they don’t I don’t want it to appear is this possible?


#3

You would just use the “if” for the gain and the “else” for no gain

if (gain) {

} else {

}

More about the if/elif/else code and gains here: HOW TO: Remember Past Choices (if/elif/else)


#4

For the choice when the reader get’s it, gain the choice and use it for when you want the item to appear. For the choice when the reader leaves it, gain the choice and use it when the reader needs that item that they didn’t collect and get them in some trouble because they didn’t collect it.

So basically a negitave scene for the reader if they choose to leave it.

And a positive scene for the reader if they pick it up.

(It’s a bit complicated saying it, though do you want a sample script?)


#5

Thanks guys I am making a simple escape game (playing around with trappable overlays for practice) due to wanting to make a interactive murder mystery later on.
so I needed the gain so that if the reader collected the flashlight
they would be able to see under the sofa to get the next clue, where as if they didn’t get the flashlight it would be too dark to see and they would need to go back and collect it.
I’ll post the link on here when i’m done to see what you guys think :slight_smile: