NPC · Core definition
Component Instruction Intelligent Switch To Ranged Attack
Component
Component_Instruction_Intelligent_Switch_To_Ranged_AttackParameters2
Parameters
| Parameter | Value | Description |
|---|---|---|
RangedDistance | 12 | The minimum distance from the player before the NPC will start to want to switch to ranged attack |
RangedTimer | [5,5] | How long the NPC must be more than the minimum distance form the player before switching |
Identifiers and data source
| Entity id | Component_Instruction_Intelligent_Switch_To_Ranged_Attack |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Components/Steps/Component_Instruction_Intelligent_Switch_To_Ranged_Attack.json |
| Component class | Instruction |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.