Choices Automatically Skipped in Naninovel Script

Posted: 12 Jan 2025 01:12
by milmanart

I’m encountering an issue where choices in my Naninovel script are displayed, but they are immediately skipped, and the script continues without waiting for the user to make a selection.

Here’s an example of my script:

Code: Select all

# Start
Make a choice below:

@choice "Go Left" goto:.LeftPath
@choice "Go Right" goto:.RightPath

# LeftPath
You chose to go left.
@stop

# RightPath
You chose to go right.
@stop

Steps I've already taken:

Verified the script syntax is correct.
Checked project settings:
Wait By Default is enabled.
Complete On Continue is disabled.
Updated metadata and reloaded all scripts.
Verified that Naninovel.UIChoiceHandler is set in the choice handler settings.
Tested in a clean project, but the issue persists.
The problem seems related to settings, as adding a @wait command temporarily resolves the issue, but I want choices to work without that workaround.

Has anyone encountered this issue or can suggest a solution?
Let me know if you'd like adjustments or additional details.


Re: Choices Automatically Skipped in Naninovel Script

Posted: 12 Jan 2025 10:42
by Elringus

Just add @stop after the choices.