From f0257da10d093daea62d8c4157f9506364cc8e03 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Tue, 8 Feb 2022 16:15:37 +0100 Subject: [PATCH] Updated --- .../entities/format/components/timer.json | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/source/behavior/entities/format/components/timer.json b/source/behavior/entities/format/components/timer.json index 9bf7912d..1ab3933e 100644 --- a/source/behavior/entities/format/components/timer.json +++ b/source/behavior/entities/format/components/timer.json @@ -21,25 +21,17 @@ "time": { "description": "Amount of time in seconds for the timer. Can be specified as a number or a pair of numbers (Minimum and max). Incompatible with random_time_choices.", "title": "Time", + "examples": [1, [1.0, 5.0]], "oneOf": [ { "type": "array", "default": [0.0, 0.0], "items": [ - { - "type": "number", - "title": "A" - }, - { - "type": "number", - "title": "B" - } + { "type": "number", "title": "Minimum" }, + { "type": "number", "title": "Maximum" } ] }, - { - "type": "number", - "default": 0 - } + { "type": "number", "default": 0 } ] }, "time_down_event": { @@ -75,9 +67,9 @@ }, "examples": [ { + "time": 1, "looping": true, - "randomInterval": true, - "random_time_choices": [] + "time_down_event": "self:reset" } ] }