Flee
Last updated
Last updated
The Flee task tells your AI to run away from its Current Target. You can setup your AI to run away at random angles to give it a more realistic feel. They will run away until the Task Conditions are met, a specific duration has elapsed, or when the AIMoveTo node finishes and returns a Success or Fail result.
Min Angle: Minimum Angle relative to Direction away from Current Target. Max Angle: Maximum Angle relative to Direction away from Current Target. Angle Offset: Offset of the random angle chosen between Min Angle and Max Angle. Min Distance: Minimum distance to be used to find a reachable point. Max Distance: Maximum distance to be used to find a reachable point. Min Movement Rate: Minimum percentage of max walk speed. Max Movement Rate: Maximum percentage of max walk speed.