Howdy, Stranger!

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

How do I put a timer in Twine 2.0?

I've referred to this:
https://www.glorioustrainwrecks.com/node/5108

But I can't seem to get this code to work. When I test it, it just appears as the code itself.

I've tried (if: time > 1s)[text] as an alternative, but it doesn't appear on the page.

Comments

  • You need to state which Story Format you are using when you ask a question, as answers can be different for each one. Based on the syntax of your examples I am going to assume you are using Harlow.

    The code you linked to was written for Twine 1's Sugarcane story format and will not work in Harlowe.

    Harlowe has a (live:) macro which can be used to do what you want.
    (live: 1s)[
    Show this text
    (stop:)
    ]
    
    note: A (live:) macro will keep triggering until the Reader navigates to another passage, the (stop:) macro is used to stop the (live:) from being triggered again.
  • Thank you for your help!
Sign In or Register to comment.