Component Instruction Soft Leash

NPC · Core definition

Component Instruction Soft Leash

ComponentComponent_Instruction_Soft_Leash
Parameters4

Parameters

ParameterValueDescription
LeashDistance30The range after which an NPC will start to want to return to their spawn point
LeashMinPlayerDistance6The minimum distance from the player before the NPC will be willing to give up on the chase
LeashTimer[5,5]How long the NPC must be more than the minimum distance form the player and too far from leash before giving up
HardLeashDistance160An absolute maximum from the the leash position the NPC can go before turning back
Identifiers and data source
Entity idComponent_Instruction_Soft_Leash
Name key—
Source fileServer/NPC/Roles/_Core/Components/Steps/Component_Instruction_Soft_Leash.json
Component classInstruction

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