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