Component Instruction Target Adjusted Attack

NPC · Core definition

Component Instruction Target Adjusted Attack

ComponentComponent_Instruction_Target_Adjusted_Attack
Parameters13

Parameters

ParameterValueDescription
TargetSwitchTimer[5,5]Minimum time the NPC will be locked onto a single target before switching
AttackSequenceComponent_Instruction_Attack_Sequence_TempThe attack sequence to use in combat
AttackDistance2The distance at which an NPC will execute attacks
TargetRange4The distance the target needs to be within to maintain priority over other targets
CombatRelativeTurnSpeed1.5Modifier that decides turn speed difference in combat
MaintainDistancetrueWhether this NPC should try to maintain distance to the target
MaintainDistanceRange5The distance within which the distance maintaining logic will kick in
DesiredDistanceRange[2,2]Distance range to remain away from the target
MoveThreshold0.5Threshold outside the desired distance range before NPC will move to maintain distance
StrafingDurationRange[0.5,1]How long to strafe for when strafing
StrafingFrequencyRange[2,4]How often to strafe
RelativeForwardsSpeed1Relative forwards move speed when maintaining distance
RelativeBackwardsSpeed0.4Relative backwards move speed when maintaining distance
Identifiers and data source
Entity idComponent_Instruction_Target_Adjusted_Attack
Name key—
Source fileServer/NPC/Roles/_Core/Components/Steps/Component_Instruction_Target_Adjusted_Attack.json
Component classInstruction

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