Different story endings using variables, help

Dec 03, 2020

I am making a visual novel-type lesson with multiple ending depending on which options the learner chooses. Each question has 3 options that fit into 3 basic categories. It works something like this:

Choices that fit into category A are "unhelpful",
Choices that fit into category B are "neutral",
Choices that fit into category C are "helpful".

Ending 1 happens when most selected answers are from category A,
Ending 2 happens when most selected answers are from category B,
Ending 3 happens when most selected answers are from category C.

I'm trying to make it so the variable gets 1 added to the value when a relevant option is selected, but the button that draws from those variables and chooses the answer is not working.

The slides where I have the 3 options that adjust the variables are 2.8, 2.25, 2.26, 3.20, 3.16, and 3.21.
The slide that has the button that chooses the ending is 9.1.


Can someone help me figure this out?

3 Replies
Walt Hamilton

Here's the problem

The jump to the next slide causes the program to stop processing all triggers on this slide, including the list of triggers attached to clicking Text Box 3, so the variable is never set. Move the trigger to change the variable above the trigger to jump, and I think things will work, as everything else looks good.

Although, I do wonder about this trigger on slide 9.1

 

Do you maybe want this trigger to say Jump to ending 1 when ending2 is less than ending1, AND ending3 is less than ending1?