Dialogue System Trigger (Animator)

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
jrose1184
Posts: 16
Joined: Mon Jan 22, 2024 2:35 pm

Dialogue System Trigger (Animator)

Post 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
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System Trigger (Animator)

Post 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).
jrose1184
Posts: 16
Joined: Mon Jan 22, 2024 2:35 pm

Re: Dialogue System Trigger (Animator)

Post by jrose1184 »

Awesome thank you AnimatorTrigger(Idle) worked. snaps a bit to quick but works. many thanks Tony
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System Trigger (Animator)

Post by Tony Li »

Hi,

Glad to help! If it snaps too quickly, you could try adjusting the crossfade duration of the transition arrow(s).
Post Reply