Forum rules - please read before posting.

NPC not talking

It has been a while since I have had this issue, but my NPC is not talking

I have all animations in the animator: Idle_L, _R, _D, U and all of Walk, Talk in all directions.

But 1st off, even though the Idle_R is default, it only plays Idle_D. Plus, when i set the NPC to talk in a conversation, the talk animation is ignored and the IDLE_U jus continues to play.

The NPC is on a path loop to move up and down (as if to float) but I have tried removing the NPC from the path and the same problem exists.

Here is a video of the issue:


Any ideas why? All my other NPC's are fine, and I created this one through the NPC creator.

Comments

  • Idle_D or Idle_U?  In your video neither are played.

    Whichever animation is the default is irrelevant - AC will play whichever animation it deems as appropriate.

    As you've defined left and right animations, you have no need of the frame-flipping feature.  Set Frame flipping to None.
  • Ok, I turned off frame flipping, my character will still not talk though, and why would AC not choose the default animation on start when nothing else is telling it otherwise?

    It now chooses Walk_L, I have Idle_R as default, they are all the same animations (Idle_U,_R,_L, Walk U, D, L, R) apart from the talk ones
  • I turned off multiple directions and now my NPC animates on start on my default animation of Idle_R, but won't talk when dialogue for the character is triggered. Stays on default even though the characters dialogue is called and shown on screen
  • The purpose of the NPC component is to indeed tell it otherwise - it tells the Animator component which animation to play at all times, which is based on the state and facing direction.

    If your character doesn't change directions, then you can disable Multiple directions.  In this case, the prefixes will not be added onto the animation names in your NPC's Inspector - so your animation names will need to be "Idle" not "Idle_D" etc.  Check your Console window for any warnings regarding missing animation states.
  • Hi,

    Ok so now I just have idle and talk, i have turned off multiple directions, but still he wont talk! 

    I have compared every detail and tick box to my other NPC's and it is identical!

    The default is idle when not spoken to, but it doesn't change to talk, please see video, thanks:

  • PM me the prefab, sprites, Animator controller and animation files.
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.