NPC · Core definition
Component Instruction Combat Target Swap
Component
Component_Instruction_Combat_Target_SwapParameters4
Parameters
| Parameter | Value | Description |
|---|---|---|
TargetSwitchTimer | [5,5] | Minimum time the NPC will be locked onto a single target before switching |
TargetRange | 4 | The distance the target needs to be within to maintain priority over other targets while in combat |
NextTargetRangeView | 16 | The maximum distance within which the NPC will pick the next target, using the view sense |
NextTargetRangeHearing | 8 | The maximum distance within which the NPC will pick the next target, using the hear sense |
Identifiers and data source
| Entity id | Component_Instruction_Combat_Target_Swap |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Components/Steps/Component_Instruction_Combat_Target_Swap.json |
| Component class | Instruction |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.