Animation Not Playing

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
AlexNerd
Posts: 39
Joined: Sat Jun 29, 2019 11:46 am

Animation Not Playing

Post by AlexNerd »

I'm not sure what's going on. I've used this command before and it worked. Is it because the object doesn't have an avatar? It shouldn't have to if it's a Generic Animation, right?
Attachments
Capture.JPG
Capture.JPG (168.92 KiB) Viewed 372 times
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Animation Not Playing

Post by Tony Li »

Hi,

That should work.

Are there any warnings in the Console window?

If not, set the Dialogue Manager's Other Settings > Debug Level to Info. When that sequencer command tries to run, examine the Console window for two lines similar to these:

Dialogue System: Sequencer: Play( AnimatorPlay(Opening, BookCase_2 (3), 0)@0 )

Dialogue System: Sequencer: AnimatorPlay(Opening, BookCase_2 (3), 0)

In particular, make sure the second one looks correct and that it's finding the correct GameObject.

You might also try backing up your project and updating to the latest version of the Dialogue System.
AlexNerd
Posts: 39
Joined: Sat Jun 29, 2019 11:46 am

Re: Animation Not Playing

Post by AlexNerd »

I figured it out when I went to set the Debug Level: I'd disabled the dialogue system window so I could see the scene better. I forgot to re-enable it. Thanks for the help!
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Animation Not Playing

Post by Tony Li »

Glad to help! (Although this was one all you! :-) )
Post Reply