Page 1 of 1
Dialogue System Trigger (Animator)
Posted: Tue Jan 23, 2024 3:23 pm
by jrose1184
Hi, I am trying to set the animator state when a conversation starts.
The trigger works for pause the player but not for the animator.
I have attached an image to show my set up
https://ibb.co/9qkzLCg
Re: Dialogue System Trigger (Animator)
Posted: Tue Jan 23, 2024 3:48 pm
by Tony Li
Hi,
Is it perhaps changing to the Idle state but then a transition arrow is immediately transitioning it back? If so, you may need to set animator parameters (e.g., trigger parameters) instead. You can use Actions > Play Sequence to do that, and use an AnimatorTrigger() sequencer command; or configure it in a Dialogue System Events component like the
Interaction Tutorial (video version recommended).
Re: Dialogue System Trigger (Animator)
Posted: Tue Jan 23, 2024 4:10 pm
by jrose1184
Awesome thank you AnimatorTrigger(Idle) worked. snaps a bit to quick but works. many thanks Tony
Re: Dialogue System Trigger (Animator)
Posted: Tue Jan 23, 2024 7:11 pm
by Tony Li
Hi,
Glad to help! If it snaps too quickly, you could try adjusting the crossfade duration of the transition arrow(s).