Universal Monster
  • Universal Monster v1.4.3
  • Overview
    • Changelog
    • Integrations
      • FPS Multiplayer Template 4.0
      • TPS Multiplayer Pack
      • Survival Game Kit v2
      • Survival Game Kit v1
      • Easy Survival RPG v4.0
      • Horror Engine
  • Features
    • Monsters
      • Character Blueprint
        • BP_UMComponent
        • BPI_UniversalMonster
        • Collision Settings
        • Animation Settings
        • Sound Settings
      • Animation Blueprint
    • Combat System
      • Attacks Array
      • Melee
      • Projectiles
      • Timers
      • Bullets
      • Trace Info
      • Player Attacks
    • Behavior System
      • Behaviors
      • Tasks
        • Wait
        • Animation
        • Move
        • Find
        • Flee
        • Hide
        • Locate
        • Return
        • Chase
        • Maneuver
        • Attack
    • Faction System
    • Group Formations
    • Conditions
    • Data Tables
Powered by GitBook
On this page

Was this helpful?

  1. Features
  2. Behavior System
  3. Tasks

Flee

PreviousFindNextHide

Last updated 3 years ago

Was this helpful?

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.

Task Info

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.

This example will Flee until the AI is 5000 units from the Current Target