Howdy, Stranger!

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

Pause/Beat Function in Harlowe?

Hi, I'm a bit of a Twine noob, and was wondering if there is a way for a pause that lasts a specified amount of time can be added before more text appears. For example, a bit of text would appear, then a piece of code would allow a pause, and then more text would appear.

Is this possible, and if so, could you possibly give me the code for it?

Please let me know. Again, I am using Harlowe, on Mac OS X.

Comments

  • You can use the (live:) macro to make something happen after a period of time, you will need to use a (stop:) macro to make sure it only happens a once.

    You can use the (replace:) macro and a named hook to display text in a predetermined place on the page.

    The following combines all of the above:
    If you wait five seconds you will see some more text.
    
    |more>[]
    
    (live: 5s)[
    	(replace: ?more)[Here is the text you waited for.]
    	(stop:)
    ]
    
  • greyelf wrote: »
    You can use the (live:) macro to make something happen after a period of time, you will need to use a (stop:) macro to make sure it only happens a once.

    You can use the (replace:) macro and a named hook to display text in a predetermined place on the page.

    The following combines all of the above:
    If you wait five seconds you will see some more text.
    
    |more>[]
    
    (live: 5s)[
    	(replace: ?more)[Here is the text you waited for.]
    	(stop:)
    ]
    

    This worked perfectly, thank you :)
Sign In or Register to comment.