Component Instruction Wild Sleep State

NPC · Core definition

Component Instruction Wild Sleep State

ComponentComponent_Instruction_Wild_Sleep_State
Parameters7

Parameters

ParameterValueDescription
CanHeartrueWhether the NPC can hear
HearingRange8Hearing range
AlertedRange30A range within which the player can be seen/sensed when the NPC is alerted to their presence
ReactToNPCstrueWhether or not to react to other NPCs
Attitudes["Hostile","Revered","Friendly","Neutral"]A prioritised list of attitudes to respond to
WakeupSensorComponent_Sensor_DayThe sensor component to use to determine when to wake up. Will be ignored if left default and DayTimePeriod is set.
DayTimePeriod[6.01,17.99]The hour range considered to be daytime for this NPC.
Identifiers and data source
Entity idComponent_Instruction_Wild_Sleep_State
Name key—
Source fileServer/NPC/Roles/_Core/Components/Selectors/Component_Instruction_Wild_Sleep_State.json
Component classInstruction

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