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 (158k 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>]
}

 

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...