bovido/scripts/wait_action.gd
Mathilde Grapin 92ccf7279d Instanciate a ball
Make the enemy throw a ball. It just instanciate a ball in the scene but
does not move it.
2023-06-12 22:06:48 +02:00

9 lines
165 B
GDScript

class_name WaitAction
extends ActionLeaf
func before_run(actor, _blackboard):
actor.animation_player.play("idle")
func tick(_actor, _blackboard):
return RUNNING