NPC · Core definition
Component Instruction Combat Flock Take Turns
Component
Component_Instruction_Combat_Flock_Take_TurnsParameters11
Parameters
| Parameter | Value | Description |
|---|---|---|
Enabled | true | Whether the component is enabled. |
AlertedRange | 45 | The alerted range of the NPC. |
CombatTurnTargetRange | 8 | The target range at which the turn-taking behavior is enabled. |
CombatTurnAttackWeight | 30 | The likelihood an NPC will choose to attack when a new turn is triggered, in percentage. |
CombatTurnDuration | [4,6] | The timeout between attack turns. |
CombatTurnDistanceRange | [6,8] | The distance range inside which flock NPCs will wait their turn. |
CombatTurnFlockMaxRange | [0,18] | The distance range where an NPC will query for flock members. If none are found, the NPC will go back to combat. The upper bound should be equal or greater than twice the upper bound of CombatTurnDistanceRange. |
CombatTurnStrafingDurationRange | [4,6] | The strafing duration range of flock NPCs waiting their turn. |
CombatTurnStrafingFrequencyRange | [2,4] | The strafing frequency range of flock NPCs waiting their turn. |
CombatTurnStrafingHealthRange | [0,0.35] | The range of the health value in which an attack will immediately trigger the NPC to back-off, as a percentage of the NPC's max health |
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_Flock_Take_Turns |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Components/Steps/Component_Instruction_Combat_Flock_Take_Turns.json |
| Component class | Instruction |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.