Forum rules - please read before posting.

NPC Follow Capabilities

mdkmdk
edited June 2014 in Technical Q&A
Hello. Love the product.

I'm trying to figure out how Character: NPC Follow works. In the manual it says: "Note that making an NPC move via another Action will make them stop following anyone."

Are you able to transition from an NPC animation into Character: NPC Follow, then back out into, say, an idle animation? If possible, how would you implement that?

Thanks.

Comments

  • If you chain up your Actions, yes.  Assuming your doing this from a Cutscene, go to the When running property in the Inspector, and change it to Run In Background.  The Engine: Pause game Action will then become a delay timer, so you can play an animation -> delay -> follow the player -> delay -> return to idle.
  • Thanks for the response.

    Actually, I was thinking of having an NPC follow the player after an NPC interaction - staying within gameplay. So, the NPC would be standing in an idle animation, with a hotspot. The player would activate the interactions, one of which would involve the NPC following the player as the player moves to the next hotspot. Hope that made sense.

    Thanks.
  • Nothing in there that doesn't sound possible.  You can also use a Trigger prefab that, when entered, stops the NPC from following the player.  Inside the Character: NPC follow Action, you can set the Follow type to Stop Following.
  • Great! Thanks, Chris. And thanks for the 1.34 update.

    Keep up the great work.

    Cheers.
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.