NPC · Core definition
Component Sensor Sight With Light By Attitude
Component
Component_Sensor_Sight_With_Light_By_AttitudeParameters8
Parameters
| Parameter | Value | Description |
|---|---|---|
ViewRange | 10 | The range from which the player will be seen |
Attitudes | ["Hostile","Revered","Friendly","Neutral"] | A prioritised list of attitudes to respond to |
ExcludeGroups | [] | Groups to exclude |
GetNPCs | true | Whether to include NPCs in this sensor |
IgnoreLockedTarget | false | Whether to ignore the current locked target |
Enabled | true | Whether this sensor should be enabled |
Moving | true | Whether to check movement |
Items | ["Furniture_Crude_Torch","Furniture_Ancient_Torch","Furniture_Temple_Emerald_Torch","Furniture_Human_Ruins_Torch","Wood_Torch_Wall"] | An array of items in the players hand that emite light |
Identifiers and data source
| Entity id | Component_Sensor_Sight_With_Light_By_Attitude |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Components/Sensors/Component_Sensor_Sight_With_Light_By_Attitude.json |
| Component class | Sensor |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.