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?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
The fourth parameter, followDistance, cannot be zero.