I finally worked it out...I think. Hasn't happed again. Used things from the original script to try to figure it out. It was definitely something to do with OnMovement...though I did make sure enough checks were in place so it doesn't check for something that's irrelevant. Like that Size check... Actually, that may have had some bearing too. I had it in OnThink.
It's still a little sluggish when the animals are eating something though. Hope that's not a problem later.
Thanks everyone! Might not be the last of the problems with this one though.
|