Skip to content

feat(addon): Add option to automatically advance dialogue when TTS finishes#280

Open
Drigtime wants to merge 1 commit into
karashiiro:mainfrom
Drigtime:feat/auto-advance-dialogue
Open

feat(addon): Add option to automatically advance dialogue when TTS finishes#280
Drigtime wants to merge 1 commit into
karashiiro:mainfrom
Drigtime:feat/auto-advance-dialogue

Conversation

@Drigtime

Copy link
Copy Markdown
  • Adds AutoAdvanceDialogue configuration property and UI toggle.
  • Implements SpeechFinishedNotifier to broadcast TTS playback finished events.
  • Enqueues spoken text with audio queue items to check against the game's active dialogue text.
  • Normalizes and compares text before advancing to prevent double-advancing or out-of-sync triggers.
  • Simulates a native mouse click on the Talk addon using AtkEventListener.ReceiveEvent (MouseDown, MouseClick, MouseUp) to prevent player lockout/UI hangs on dialogue end.

…nishes

- Adds AutoAdvanceDialogue configuration property and UI toggle.
- Implements SpeechFinishedNotifier to broadcast TTS playback finished events.
- Enqueues spoken text with audio queue items to check against the game's active dialogue text.
- Normalizes and compares text before advancing to prevent double-advancing or out-of-sync triggers.
- Simulates a native mouse click on the Talk addon using AtkEventListener.ReceiveEvent (MouseDown, MouseClick, MouseUp) to prevent player lockout/UI hangs on dialogue end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant