NPC · Core definition
Component Instruction Combat Retreat
Component
Component_Instruction_Combat_RetreatParameters2
Parameters
| Parameter | Value | Description |
|---|---|---|
AttackDistance | 2 | The distance at which an NPC will execute attacks |
CombatFleeIfTooCloseDistance | 0 | In combat, if the target gets within this distance for a certain amount of time, the NPC will attempt to flee to a safe distance instead of simply backing away. Set to 0 to disable behavior. |
Identifiers and data source
| Entity id | Component_Instruction_Combat_Retreat |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Components/Steps/Component_Instruction_Combat_Retreat.json |
| Component class | Instruction |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.