Can I lock the choice button?

Discuss authoring naninovel scenario scripts.
Post Reply
booksuny
Posts: 47
Joined: 26 Sep 2022 12:37

Can I lock the choice button?

Post by booksuny »

I want to make it possible to choice a choice button by solving a puzzle or doing the second round of the game while the option is locked in a specific situation.

Does naninovell offer this function?

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: Can I lock the choice button?

Post by idaot »

You can create a different button for each state and conditionally show them using a ternary operator.

Example:
@choice "Option 1" button:{ HasPlayed() ? "Locked" : "Normal" }

Post Reply