Forum rules - please read before posting.

FollowAssign by script not working

edited December 2018 in Technical Q&A

Hi. I tried to use thisNPC.FollowAssign (KickStarter.player, true, 0.5f, 0f, 0.1f, false, false); by script with no luck. When I do Debug.Log(thisNPC.GetFollowTarget ()); it returns null. It works when using the NPC Follow action in the actionlist. Am I doing something wrong with the script?

Comments

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.