So, I've followed the answer from user greyelf to the question of how to implement a health bar into Twine Harlowe, as seen from this: http://twinery.org/questions/351/how-can-i-implement-a-visual-health-bar-in-harlowe-2-0-1?show=3333#c3333
And I implemented it into my own project and it works wonderfully. BUT, I'd like to force the player to a different passage once the health bar reaches 0, but I'd like for the new passage to be loaded after the health bar animation is updated (i.e.- you watch it run down to 0, and then the page refreshes to a "You are dead" passage).
I've tried playing around with adding...
(if: $health < 1)[(go-to: "dead")]
(display: "Update Health Bar")
in the TwineScript from the link above, which indeed takes me to the "dead" passage, but we unfortunately don't see the health bar deplete and then be taken to the passage.
I hope this question makes sense. Let me know if you have more questions about what I'm asking!
Thank you in advance!