|
Post by redghostofthenight on Dec 24, 2015 2:27:50 GMT
Hi everyone! I've setup my AI that works when spawned, but the animation of the torso is off! Any suggestions?  This is the warning that appears. "Animator has not been initialized.UnityEngine.Animator:SetBool(Int32, Boolean)ParagonAI.AnimationScript:SetEngaging() (at Assets/Paragon Shooter AI/Paragon AI/Csharp/AI Behaviour Scripts/AnimationScript.cs:363)ParagonAI.BaseScript:StartEngage() (at Assets/Paragon Shooter AI/Paragon AI/Csharp/AI Behaviour Scripts/BaseScript.cs:361)ParagonAI.TargetScript:NoticeATarget(Target) (at Assets/Paragon Shooter AI/Paragon AI/Csharp/AI Behaviour Scripts/TargetScript.cs:239)ParagonAI.TargetScript:CheckForLOSAwareness(Boolean) (at Assets/Paragon Shooter AI/Paragon AI/Csharp/AI Behaviour Scripts/TargetScript.cs:437)ParagonAI.TargetScript:UpdateEnemyAndAllyLists(Target[], Target[]) (at Assets/Paragon Shooter AI/Paragon AI/Csharp/AI Behaviour Scripts/TargetScript.cs:209)ParagonAI.ControllerScript:UpdateAllEnemiesEnemyLists() (at Assets/Paragon Shooter AI/Paragon AI/Csharp/AI Behaviour Scripts/ControllerScript.cs:52)ParagonAI.ControllerScript:RemoveTargetFromTargetList(Int32) (at Assets/Paragon Shooter AI/Paragon AI/Csharp/AI Behaviour Scripts/ControllerScript.cs:79)ParagonAI.TargetScript:RemoveThisTargetFromPLay() (at Assets/Paragon Shooter AI/Paragon AI/Csharp/AI Behaviour Scripts/TargetScript.cs:157)ParagonAI.TargetScript:OnDestroy() (at Assets/Paragon Shooter AI/Paragon AI/Csharp/AI Behaviour Scripts/TargetScript.cs:151)"Any help would be really appreciated!
|
|
|
Post by DarkTonic Dev on Dec 24, 2015 4:42:32 GMT
Please contact the author of Paragon AI. This appears to have nothing to do with our plugin.
|
|
|
Post by redghostofthenight on Dec 24, 2015 5:25:05 GMT
Hmmm ok thing is when I use the default NPC that comes with that pack the AI runs perfectly fine... I'll still contact them, just curious if you had any suggestions.
|
|
|
Post by DarkTonic Dev on Dec 24, 2015 6:00:51 GMT
If you're saying that when things re-spawn only, there are problems, then some initialization code for Paragon will need to be moved into OnSpawned method instead of Awake or Start. This is described in the CGK readme and is the same regardless of which AI plugin you use. If the problem happens on initial spawn also, I'm not sure what else they'll need to fix.
Hope that helps!
|
|