Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Making link unclickable (using Harlowe)

Hello guys, I searched everywhere and still cant find an answer! Here's my problem:

In some passages, I want to give the player two or more options of what they can do in the situation, and once they've made a choice, i want the other passages to become unclickable. I know the easiest way is just to send the player to another passage with no option of redo, but I wanted to make this in only one passage, to avoid creating lots and lots of passages.

I really have no idea on how I could make it, if someone could help me I would be very grateful!

Forgive me my clumsy English. Im not really good at it yet.

Comments

  • I don't use Harlowe, but maybe this could help. http://twinery.org/wiki/choice
  • Maybe you could a combination of a named hook and the (replace:) macro
    Select an option:
    |options>[
    	(link: "Option 1")[
    		... Place whatever you want option 1 to do here ...
    		(replace: ?options)[
    			Option 1
    			Option 2
    			Option 3
    		]
    	]
    	(link: "Option 2")[
    		... Place whatever you want option 2 to do here ...
    		(replace: ?options)[
    			Option 1
    			Option 2
    			Option 3
    		]
    	]
    	(link: "Option 3")[
    		... Place whatever you want option 3 to do here ...
    		(replace: ?options)[
    			Option 1
    			Option 2
    			Option 3
    		]
    	]
    ]
    
  • greyelf wrote: »
    Maybe you could a combination of a named hook and the (replace:) macro
    Select an option:
    |options>[
    	(link: "Option 1")[
    		... Place whatever you want option 1 to do here ...
    		(replace: ?options)[
    			Option 1
    			Option 2
    			Option 3
    		]
    	]
    	(link: "Option 2")[
    		... Place whatever you want option 2 to do here ...
    		(replace: ?options)[
    			Option 1
    			Option 2
    			Option 3
    		]
    	]
    	(link: "Option 3")[
    		... Place whatever you want option 3 to do here ...
    		(replace: ?options)[
    			Option 1
    			Option 2
    			Option 3
    		]
    	]
    ]
    

    thank you! this works perfectly!
Sign In or Register to comment.