0 votes
by (120 points)
Suppose hook1 has two clickable links within, link1 and link2, that each represent a choice the player can make. Rather than removing hook1 or moving to a new passage, I want clicking a link (making a choice) to make the two links unclickable, but preserve all of the text. Is this doable?

1 Answer

+1 vote
by (154k points)

You could use a variation on the technique giving as an answer to the How do I make a link dissappear when clicking it or another? question.

Some content.

(link: "link1")[(replace: ?links)[link1<br>link2]]
(link: "link2")[(replace: ?links)[link1<br>link2]]

note: the name of the named hook can be whatever makes sense in your story, just remember to also change the ?links parameter to the (replace:) macros.

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.