Howdy, Stranger!

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

Timer macro?

Hi, I'm pretty new to using twine and I'm working on my first story in Harlowe. What I'm trying to do is find a way so that after clicking a link to a new passage, that passage who's link you followed will then expire after a short time before reverting back to the previous passage. I'm sure there's a way to do this and its probably just staring me in the face.

Sorry if this has already been asked. I did a pretty extensive search, but it didn't really yield what I was looking for. Also sorry if this isn't specific enough. I can try to explain it better if needed.

Comments

  • For anything time related, the (live:) function works well enough as a simple timer.
    (live: 5s)(goto: "previous passage")(stop:)
    
    (Hopefully I utilized that right...)
  • Neoroman wrote: »
    (live: 5s)(goto: "previous passage")(stop:)
    

    Should be:
    (live: 5s)[(goto: "previous passage")(stop:)]
    
  • Thanks, guys!
  • Moving from one passage to another causes (live:) based timers to be destroyed, so in this case the (stop:) macro is not needed but it does not hurt for it to be included.
Sign In or Register to comment.