I have this little guy that I want to move about until he sees the player in sight. Once he detects player he rushes over to bite him, then is delayed a second.
RIght now I was using the RTS movement and line of sight to accomplish this, which works somewhat.
CheeseHead is enemy, Spanky is Player:
CheeseHead: Has LOS to Spanky
CheeseHead: Animation "Dead" is playing
CheeseHeadMove to Spanky
CheeseHead: Does not Have LOS to Spanky
CheeseHeadMove to (random(100), random(100))
What I get is a wacky rotating object that follows player but always seems to have him in Line of Sight. I'm not too familiar with these behaviors, anyone have any suggestions?