NPC · Core definition
Component Sensor Standard Detection
Component
Component_Sensor_Standard_DetectionParameters9
Parameters
| Parameter | Value | Description |
|---|---|---|
ViewRange | 10 | The range from which the target will be seen. If zero, sight will be disabled. |
ViewSector | 120 | The view sector within which the target needs to be to be seen |
HearingRange | 10 | The range from which the target will be heard. If zero, hearing will be disabled. |
AbsoluteDetectionRange | 2 | The range at which a target is guaranteed to be detected. If zero, abosulte detection will be disabled. |
ThroughWalls | true | Whether the NPC can hear the target through obstacles |
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 |
Identifiers and data source
| Entity id | Component_Sensor_Standard_Detection |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Components/Sensors/Component_Sensor_Standard_Detection.json |
| Component class | Sensor |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.