-
-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dialogic does not raise the signal 'timeline_ended' #2049
Comments
Hmm... I think there has to be something else to this. It works for me with godot 4.2.1 and alpha 13 WIP. |
I tried on godot 4.2.1 and I confirm that the signal is properly raised. (I tried godot 4.2.1 and dialogic alpha 12) |
I have found the behaviour change that seem to cause the issue: |
I was able to fix the issue by altering the regex to: |
@Wildos Thank you so much, this looks like a great find. I've not been using 4.3 yet so I didn't notice, but that sounds like the problem indeed. I have to look at the regex and it's use myself before being certain it doesn't cause other problems, but I'm sure you've made this way less of a hassle then it would've been otherwise. |
Great finding the solution! |
The problem
Describe the bug
The signal "timeline_ended" is not raised when the dialog reach the end.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I tried to react to the end of a timeline but the function connected to the signal is not executed
Screenshots
/
System (please complete the following information):
I tried adding a 'End' flow instruction to force the end of the timeline but without success
Timeline code:
Script code:
the "bill" character is a new character with the name 'bill' no modification made
Additional informations:
I investigated lightly and it seem the reason the signal is not raised is because the function "handle_event" from 'DialogicGameHandler' is never called with an 'event_index' equal or superior than the size of 'current_timeline_events'.
It seem that the function "handle_next_event" is not called after the event is finished
The text was updated successfully, but these errors were encountered: