9 lines
165 B
GDScript
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
|