Howdy, Stranger!

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

Choices not working

I'm using Twine 2 and the story style is SugarCube 2.12.1
I'm using the choices function but they are not disappearing after being clicked and can be clicked over and over

Here is what I have.
<<choiceAsk who they are>>
<<choice ...>>
<<choice Ask the mysterious voice for its name>>

Please help, thanks!

Comments

  • That sure is weird... The first choice tag you listed doesn't have a space where it should, but that shouldn't prevent the other two from working as far as I know. Might want to double check your code, though.

    Maybe try the "" syntax to see if that works?
    <<choice "passage name" "link text">>
    
  • If you were using SugarCube 1.x then the lack of a space between the macro name and the markup link in the first usage of <<choice>> would result in an "Error: macro <<choice[[Ask>> does not exist" error but in 2.x it should work it out.

    I tried your example code in a new SugarCube 2.12.1 project and everything worked as expected.

    The Twine 2.1.0 application successfully created the three target passages, to which I added a markup link back to the first passage. When I played the story and viewed the first passage I saw three links and each of these links sent me to the correct target passage, and if I used the link I added to return to the first passage the original three links were now just plan text.

    Two suggestions:

    1. Add a space character between the macro name and the first parameter.

    2. Don't use punctuation characters in/as the name of a passage.
    eg. change ... to some passage name without punctuation
Sign In or Register to comment.