From 258437c3409d61d6924ef7c60a57fa56b35293ad Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Sun, 6 Aug 2023 12:55:52 +0200 Subject: [PATCH] Update BTRepeat class doc --- doc_classes/BTRepeat.xml | 5 ++++- doc_classes/BTTask.xml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc_classes/BTRepeat.xml b/doc_classes/BTRepeat.xml index cd09091..a0edb45 100644 --- a/doc_classes/BTRepeat.xml +++ b/doc_classes/BTRepeat.xml @@ -5,7 +5,7 @@ BT decorator that repeats execution of the child task specified number of [member times]. - Returns [code]RUNNING[/code] if the child returns [code]RUNNING[/code]. + Returns [code]RUNNING[/code] if the child returns [code]RUNNING[/code]. If [member forever] is [code]true[/code], BTRepeat will always return [code]RUNNING[/code]. Returns [code]SUCCESS[/code] when specified number of successfully finished executions is reached. When [member abort_on_failure] is [code]false[/code], [code]FAILURE[/code] status returned by the child is also considered a successfully finished execution. Returns [code]FAILURE[/code] when [member abort_on_failure] is set and the child returns [code]FAILURE[/code]. @@ -15,6 +15,9 @@ If [code]false[/code], [code]FAILURE[/code] status returned by the child is also considered a successfully finished execution. + + If [code]true[/code], the child's execution will be repeated indefinitely, always returning [code]RUNNING[/code]. + A number of times to repeat an execution of the child task. diff --git a/doc_classes/BTTask.xml b/doc_classes/BTTask.xml index ec46a84..002e0e7 100644 --- a/doc_classes/BTTask.xml +++ b/doc_classes/BTTask.xml @@ -188,7 +188,7 @@ User provided name for the task. If not empty, [code]custom_name[/code] is used by the editor to display the task. See [method get_task_name]. - + Elapsed time since the task was entered. Returns 0 when task is not [code]RUNNING[/code].