bovido/scripts/enemy/behavior_tree/wait_action.gd

9 lines
157 B
GDScript3
Raw Normal View History

2023-06-12 17:58:06 +02:00
class_name WaitAction
extends ActionLeaf
func before_run(actor, _blackboard):
2023-07-01 13:26:45 +02:00
actor.play_idle_animation()
2023-06-12 17:58:06 +02:00
func tick(_actor, _blackboard):
2023-06-12 17:58:06 +02:00
return RUNNING