NPC · Core definition
Component Instruction Wild Sleep State
Component
Component_Instruction_Wild_Sleep_StateParameters7
Parameters
| Parameter | Value | Description |
|---|---|---|
CanHear | true | Whether the NPC can hear |
HearingRange | 8 | Hearing range |
AlertedRange | 30 | A range within which the player can be seen/sensed when the NPC is alerted to their presence |
ReactToNPCs | true | Whether or not to react to other NPCs |
Attitudes | ["Hostile","Revered","Friendly","Neutral"] | A prioritised list of attitudes to respond to |
WakeupSensor | Component_Sensor_Day | The 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 id | Component_Instruction_Wild_Sleep_State |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Components/Selectors/Component_Instruction_Wild_Sleep_State.json |
| Component class | Instruction |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.