NPC · Core definition
Component Instruction Combat Back Off
Component
Component_Instruction_Combat_Back_OffParameters10
Parameters
| Parameter | Value | Description |
|---|---|---|
TimerName | Combat_Back_Off | The timer, started by the parent template, that controls when this behavior should run and for how long. |
CombatBackOffAfterAttack | true | Whether to back off after performing an attack. |
CombatBackOffDistanceRange | [4,4] | How far to back off after performing an attack. Max should be lower than the CombatBehaviorDistance. |
CombatBackOffDurationRange | [2,3] | How long to back off for after performing an attack. |
BlockAbility | Shield_Block | The interaction to use for blocking when backing away. Set to empty to disable blocking. |
BlockProbability | 50 | The probability this NPC will block when backing away if a BlockAbility is set. |
CombatStrafingDurationRange | [1,1] | How long to strafe for when in the combat strafing movement behavior. Only applies if CombatStrafeWeight is greater than 0. |
CombatStrafingFrequencyRange | [2,2] | How frequently to strafe when in the combat strafing movement behavior. Only applies if CombatStrafeWeight is greater than 0. |
CombatBehaviorDistance | 5 | The distance within which to switch from smart chasing to combat-oriented movement behavior. |
CombatMovingRelativeSpeed | 0.6 | Relative speed to use during combat specific movement (e.g. to achieve slower strafing). |
Identifiers and data source
| Entity id | Component_Instruction_Combat_Back_Off |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Components/Steps/Component_Instruction_Combat_Back_Off.json |
| Component class | Instruction |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.