|
I noticed that my herbivores sometimes don't get called every tick. Especially when they are attacked by a quick carnivore (e.g. Beast), they stay paralized and miss sometimes more than 5 ticks!!! I've put a WriteTrace command at the start of every LoadEvent, so this isn't about my animal thinking too long. It seems that animal is just not called for more than 5 ticks.
However, when I compile my herbivore in Release mode (thereby removing all the WriteTrace lines), my herbivores don't have any problems anymore.... strange...
Is there maybe something fishy about the WriteTrace command? It seems my animals sometimes get stuck when calling WriteTrace.
|