I currently have a bug with my GuardBehavior and SuspicionBehavior states. My guard currently returns to the guard behavior without waiting for the timeSinceLastSawPlayer >= suspicionTime. Any ideas what may be the problem?
More information:
It seems that GuardBehavior is constantly running. When I through a print statment into guard behavior it’s tripping every update.
Nevermind, I figured it out. For some reason the suspicionTime variable wasn’t changing when I changed it in the script. Had to change it in the Unity Editor.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.