Can Hidden Stats Be Revealed Only in Later Chapters?

Pardon me if a similar question has been asked before, but I wanted to ask: is it possible for a stat to be hidden and remain completely unknown to the players during the early and mid-game, only revealing itself after a specific chapter or major plot event?

If so, how do I go about coding it so that the stat only appears after a certain chapter or point in the story?

The reason I want to keep these stats hidden early on, is so that players can fully focus on the story and their choices without being distracted by numbers. Then, later in the game, when the stats are finally revealed, it hits them how their earlier decisions actually mattered, creating a moment that truly deepens the narrative impact.

Thanks in advance for any advice!

1 Like

You can use *if commands in the stats screen.

Create a variable like *create stats_revealed false and then, in your stats screen, you can make a section that’s *if stats_reveals = true and nest all the hidden stats under that.

Then, when you’re ready to reveal them, in your chapter, change the variable to true and the stats will show.

(Nest what the alternative under *if stats_revealed = false though, or else it’ll still show when the variable changes).

4 Likes

Thank you so much for the advice! Just wondering, if I want the stats screen to show nothing before the hidden stats are revealed, do I code it like this:

*if stats_revealed = false
  text 
*if stats_revealed = true
  *hidden_stat1
  *hidden_stat2
  *hidden_stat3
2 Likes

If you literally want to show nothing before the stats are revealed, then you can leave out the part before *if stats_revealed = true .

1 Like

I’m ONLY tagging @cataphrak because I know he tracked certain stats over several installments of his series that were not revealed in the first book.

Cata, any insight?

1 Like

This is kind of already a solved problem, but I’d like to add that variables introduced in the first installment of a series are implicitly imported to the next installment, which means you can technically keep a variable hidden for the entire period of multiple parts of a series while still tracking it.

1 Like