How to display numerical attributes.

I 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.


Only 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>
}

It worked. Thanks.


This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums