Howdy, Stranger!

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

Newbie here using Harlowe. How can I do multichoice type html.

I want my multi choice style like this one:

http://rocky.paperblurt.com/#1l.3.p.a.b.c.1g.s.c

whereas if the player has chosen the wrong link it'll go back to the options but the one the player has linked comes with a strikethrough

Comments

  • The easiest way I can think of is to track the "wrong" options with variables and have those options set the variable and go back to the current passage.
    {(if: $option1)[<s>**Option 1**</s>]
    (else:)[
     (link: "Option 1")[(set: $option1 to true)(goto: "this passage")]
    ]}
    [[Option 2->next passage]]
    {(if: $option3)[<s>**Option 3**</s>]
    (else:)[
     (link: "Option 3")[(set: $option3 to true)(goto: "this passage")]
    ]}
    

    "this passage" is the name of the passage these options are in.

    You'll also need to set those variables to 'false' first. I would do it in a separate passage which you can (display:) as needed to reset them, such as after the correct option has been chosen. That way you don't need unique variables for each passage's options.
Sign In or Register to comment.