0 votes
by (200 points)
So, I'd like, when the user clicks on passage links (there are three) that each one gets deleted until you are left with only the continue button. This should be able to happen with all combination of passage choices but I'm not sure how to do that.
related to an answer for: How To Link Multiple Passages With An If

1 Answer

0 votes
by (159k points)

In the other question I explained how to use an (if:) macro to conditionally show content, and also how to check if the current value of a Boolean based story variable was equal to false.

Use the current state of each of the three variables ($seen1, $seen2, and $seen3) to determine if the related link should be shown or not.

(if: not $seen1)[ [[Passage 1]]<br>]
(if: not $seen2)[ [[Passage 2]]<br>]
(if: not $seen3)[ [[Passage 3]]<br>]