Soty, can I make a suggestion for this trigger system?
Since increasing Animal AI+ value to a number will make the animals wander around and reproduce by themselves, the only problem will be making them flee when they see Player 1 units.
Hope this will allow animals (deer) to flee from player units on sight.
1. Make several areas on the map. I'll make 2 Areas and call them "North Corner" and "South Corner" (the areas are pretty self explanatory). These are the areas that the deer will flee to.
2. Place a herd of deer in the Unit Editor. Select them as an object named "Deer Herd".
Make another object: Player 1, any unit, dynamic, 1-99999. Call it "Any P1 Unit".
3. Make an object: use object "Deer Herd", dynamic, 1-99999. Call it "Any Deer".
Make another object: use object "Any P1 Unit", LOS "Any Deer". Call it "P1 Unit seen by Deer".
4. Make 2 objects, each using object "Any Deer", in area "North Corner" and "South Corner". Call them "Deer in North Corner" and "Deer in South Corner".
5. Make several triggers:
Trigger 1:
If "P1 Unit seen by Deer" Exists,
Then "Task-Area Deer to North Corner" AND delay, "Trigger 2 ON"
OR "Task-Area Deer to South Corner" AND delay, "Trigger 2 ON".
Trigger 2: (default OFF)
If Always True,
Then "Trigger 3 ON" AND "Trigger 4 ON".
Trigger 3: (default OFF)
If "P1 Unit seen by Deer" Exists AND "Deer in North Corner" Exists,
Then "Task-Area Deer to South Corner" AND delay, "Trigger 2 ON".
Trigger 4: (default OFF)
If "P1 Unit seen by Deer" Exists AND "Deer in South Corner" Exists,
Then "Task-Area Deer to North Corner" AND delay, "Trigger 2 ON".
In theory this should work, but in practice... I'll try to make a sample map with these triggers and see if it works out. It would be possible to increase the number of areas for the deer to run to to make it seem more random though.