9 lines
163 B
GDScript3
9 lines
163 B
GDScript3
|
class_name WaitAction
|
||
|
extends ActionLeaf
|
||
|
|
||
|
func before_run(actor, _blackboard):
|
||
|
actor.animation_player.play("idle")
|
||
|
|
||
|
func tick(actor, blackboard):
|
||
|
return RUNNING
|