How To Use A Timer

Wednesday, 5 July 2017 10:47 pm
giangtranguyen: (Default)
[personal profile] giangtranguyen posting in [community profile] twine_tutorials
Just copy and paste the code into the passage, then adjust it to your liking.

For example:


(set: $counter to 3)
You have |amount>[$counter] seconds left!
 
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[
(go-to: (either: "Passage 1", "Passage 2", "Passage 3"))
]
(replace: ?amount)[$counter]
]

Profile

Twine Tutorials

April 2018

S M T W T F S
1234567
8910111213 14
15161718192021
22232425262728
2930     

Style Credit

Expand Cut Tags

No cut tags
Page generated Monday, 30 June 2025 12:40 pm
Powered by Dreamwidth Studios