Skip to content

Commit

Permalink
- Update entity sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
Xterionix committed Mar 21, 2024
1 parent 98f1798 commit f84f372
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions source/behavior/entities/format/components/entity_sensor.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,17 @@
"title": "Minimum Count"
},
"range": {
"type": "number",
"default": 10,
"description": "[UNDOCUMENTED] The maximum distance another entity can be from this and have the filters checked against it.",
"title": "Range"
"description": "The maximum distance another entity can be from this and have the filters checked against it.",
"title": "Range",
"anyOf": [
{
"$ref": "../../../../resource/ui/general/vec2.json"
},
{
"default": 10,
"type": "number"
}
]
},
"require_all": {
"type": "boolean",
Expand Down

0 comments on commit f84f372

Please sign in to comment.