7 lines
181 B
GDScript
7 lines
181 B
GDScript
class_name GetBallDestinationAction
|
|
extends ActionLeaf
|
|
|
|
func tick(actor: Node, blackboard: Blackboard):
|
|
blackboard.set_value("destination", actor.next_destination)
|
|
return SUCCESS
|