Forum rules - please read before posting.

Talk bool is not automatically updated by AC when talk interaction is triggered

Hello Everyone,

I have followed the 2D primer tutorial, and created a isTalking boolean parameter, and saw that AC populated it to be the Talk Bool for the bird root,
however, the transition from idle to talk never happens when initiating talk interaction with the bird, it seems that isTalking parameter is never set to true automatically, so the talk animation never plays,
as a work around, I had to add Character Animate action before and after the Dialogue, the before is to set the isTalking parameter to true, and the after is to set it back to false, which is extra work and lead to cluttered ActionList editor,
is there a reason why Talk bool would not work automatically ?

Comments

  • Welcome to the community, @AdventureEnthusiast.

    AC will take automatic control over any parameter listed in the character's "Mecanim parameters" Inspector panel.

    Any such parameter will be set by AC each frame - so it shouldn't normally be possible to separately control it with an Action.

    Check that the name of the parameter in your Animator matches that defined in the character's Inspector exactly. The default value in the Inspector is "IsTalking", with an upper-case "i". This default value is not taken from the Animator itself - you'll have to make sure the two match manually.

    If all looks correct, you're welcome to share screenshots of your NPC and Animator window, and I'll try to spot what's wrong.

  • Thank you very much Chris, it was indeed the lower case "i" that was the issue

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.