Index: binaries/data/mods/public/simulation/components/UnitAI.js =================================================================== --- binaries/data/mods/public/simulation/components/UnitAI.js +++ binaries/data/mods/public/simulation/components/UnitAI.js @@ -1797,6 +1797,16 @@ if (this.GetStance().respondHoldGround) this.WalkToHeldPosition(); } + else + { + // Check if target does not started to run + let cmpUnitAI = Engine.QueryInterface(this.order.data.target, IID_UnitAI); + if (cmpUnitAI && cmpUnitAI.IsFleeing()) + { + // Run after a fleeing target + this.SetMoveSpeedRatio(this.GetRunMultiplier()); + } + } }, "MoveCompleted": function() { @@ -2055,6 +2065,16 @@ if (this.GetStance().respondHoldGround) this.WalkToHeldPosition(); } + else + { + // Check if target does not started to run + let cmpUnitAI = Engine.QueryInterface(this.order.data.target, IID_UnitAI); + if (cmpUnitAI && cmpUnitAI.IsFleeing()) + { + // Run after a fleeing target + this.SetMoveSpeedRatio(this.GetRunMultiplier()); + } + } }, "MoveCompleted": function() { Index: binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_skittish.xml =================================================================== --- binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_skittish.xml +++ binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_skittish.xml @@ -3,4 +3,7 @@ skittish + + 10 +