Choices Automatically Skipped in Naninovel Script

The engine is not working as expected? Documentation is wrong or out of date? Let us know here!
Forum rules
We are not providing support via this forum; it's community-driven. For official support see https://naninovel.com/support/#naninovel-support
Post Reply
milmanart
Posts: 1
Joined: 10 Jan 2025 23:48

Choices Automatically Skipped in Naninovel Script

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

Elringus
admin
Posts: 541
Joined: 11 May 2020 18:03

Re: Choices Automatically Skipped in Naninovel Script

Post by Elringus »

Just add @stop after the choices.

Post Reply