I have created a footer (a passage with the tag “footer”), which tells the score:
--- Score: $score out of 3
I would like to reward points to the player when they click on some
(link-reveal: "...") words, which expand into paragraphs with more details.
(set: $score +=1) to increment the score, but the footer is not refreshed—of course. The new score appears when the player moves on to the next passage, because that’s when the footer passage gets re-run.
How can I refresh the footer so that it shows the score within the same passage?
Please specify version and format if asking for help, or apply optional tags above:
Twine Version: 2
Story Format: Harlowe 3.1