How to display numerical attributes.
SwarajWrites
09 Jun 2020, 10:12I have set the value of three variables hp, mp and tp. But when I try to display them using {hp},{mp}, and {tp}, the value displayed is null. If you guys could tell me what might be the problem, that would be great help.
Update: The value of the attributes shows up in the main sections, but only not in the master passage.
![](https://i.imgur.com/6mfIIbhb.gif)
Bluevoss
09 Jun 2020, 22:53Only have a moment. This might work for you - it suppresses the master until you are actually in the game...
[[start]]:
@set hp=5
start game
[[continue]]
[[continue]]:
continue
[[]]:
{if seen continue:
hp={hp}
<more values here>
}
SwarajWrites
15 Jun 2020, 05:31It worked. Thanks.