From d642dbedc57b919ac518c0cfa0507d48452485a6 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Mon, 14 Aug 2023 17:33:54 +0200 Subject: [PATCH] Add class docs for BTAwaitAnimation --- doc_classes/BTAwaitAnimation.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc_classes/BTAwaitAnimation.xml diff --git a/doc_classes/BTAwaitAnimation.xml b/doc_classes/BTAwaitAnimation.xml new file mode 100644 index 0000000..886262f --- /dev/null +++ b/doc_classes/BTAwaitAnimation.xml @@ -0,0 +1,24 @@ + + + + BT action that waits for an animation to finish playing. + + + BTAwaitAnimation waits for an animation on the specified [AnimationPlayer] node to finish playing and returns [code]SUCCESS[/code]. + Returns [code]SUCCESS[/code] if the specified animation finished playing or if the specified animation is not currently playing. + Returns [code]FAILURE[/code] if the specified animation doesn't exist or the action failed to get [AnimationPlayer] instance. + + + + + + Animation's key within the [AnimationPlayer] node. + + + Parameter that specifies the [AnimationPlayer] node. + + + Maximum duration to wait for the animation to finish (in seconds). + + +