0 votes
by (150 points)

Hello Everyone!

I'm currently working on a story, and would like to make a sort of dialog. So when a link is clicked the other one disappears, so that they only have the option to click continue. 

(set: $disrespect to "Be Disrespectful")
(set: $walkaway to "Be Strong and Walk Away")

(link: "$disrespect")[
	(transition: "pulse")[You Dumbass!] 
]

(link: "$walkaway")[
	(transition: "pulse")[My bad.] 
]

[[Continue]]

  

1 Answer

0 votes
by (159k points)
selected by
 
Best answer

Try something like the following which uses a named hook to define the area the macro based links appear in, and (replace:) macros to overwrite that area with the relevant transition text.

(set: $disrespect to "Be Disrespectful")
(set: $walkaway to "Be Strong and Walk Away")

|links>[\
(link: "$disrespect")[
	(replace: ?links)[\
		(transition: "pulse")[You Dumbass!]\
	]
]

(link: "$walkaway")[
	(replace: ?links)[\
		(transition: "pulse")[My bad.]\
	]
]\
]

[[Continue]]

... I also used Escaped line break markup to suppress unwanted line-breaks.

by (150 points)
Perfect! Thank You.
...