Component Instruction Combat Flock Take Turns

NPC · Core definition

Component Instruction Combat Flock Take Turns

ComponentComponent_Instruction_Combat_Flock_Take_Turns
Parameters11

Parameters

ParameterValueDescription
EnabledtrueWhether the component is enabled.
AlertedRange45The alerted range of the NPC.
CombatTurnTargetRange8The target range at which the turn-taking behavior is enabled.
CombatTurnAttackWeight30The 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
CombatMovingRelativeSpeed0.6Relative speed to use during combat specific movement (e.g. to achieve slower strafing).
Identifiers and data source
Entity idComponent_Instruction_Combat_Flock_Take_Turns
Name key—
Source fileServer/NPC/Roles/_Core/Components/Steps/Component_Instruction_Combat_Flock_Take_Turns.json
Component classInstruction

Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.