0 votes
by (120 points)
hello I'm using twin 2 Harlowe

i having trouble with values ie $health $cp communicating between passages

so i have a passage called player stats with all the values

then i have a hud to ley out the values and on a few pages i (display: "hud")

but the hud passage won't pick up the values from the player stats page

note: it works if i put the info all in one page but when i  display the hud in the test there's a huge gap where the code would be if that makes sense

1 Answer

0 votes
by (158k points)
Without examples of your existing 'Player Stats' and 'Hud' passages it is difficult to determine why they are not displaying their content as you wish them too.

If you are using story variables to store the values then those variables should be available within each of the previously mentioned passages, assuming you have initialised (assigned a value) those variables before the content of those passages is displayed.
Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...