bovido/scripts/wait_action.gd

9 lines
165 B
GDScript3
Raw Normal View History

2023-06-12 17:58:06 +02:00
class_name WaitAction
extends ActionLeaf
func before_run(actor, _blackboard):
actor.animation_player.play("idle")
func tick(_actor, _blackboard):
2023-06-12 17:58:06 +02:00
return RUNNING