Code in "sequence" running after OnConversationEnd()
Posted: Thu Dec 21, 2023 9:48 am
Hi.
In some of my dialogue nodes, I have sequences that call AnimatorPlay.
But I'm also using the DIalogue System Events on the Dialogue Manager, and the OnConversationEnd() invokes an event.
The thing is that when I have an AnimatorPlay on the last node of a conversation, I found that the OnConversationEnd is being invoked before the AnimatorPlay (first the conversation ends, and after that, the AnimationPlay is run), which seems counter intuitive to me. Am I doing something wrong?
If this is normal, is there a way to force the AnimatorPlay on the last node to run before the OnConversationEnd event is invoked?
Thanks.
In some of my dialogue nodes, I have sequences that call AnimatorPlay.
But I'm also using the DIalogue System Events on the Dialogue Manager, and the OnConversationEnd() invokes an event.
The thing is that when I have an AnimatorPlay on the last node of a conversation, I found that the OnConversationEnd is being invoked before the AnimatorPlay (first the conversation ends, and after that, the AnimationPlay is run), which seems counter intuitive to me. Am I doing something wrong?
If this is normal, is there a way to force the AnimatorPlay on the last node to run before the OnConversationEnd event is invoked?
Thanks.