11 lines
155 B
GDScript
11 lines
155 B
GDScript
class_name CanWaitCodition
|
|
extends ConditionLeaf
|
|
|
|
func tick(actor, _blackboard):
|
|
if (
|
|
actor.next_target == null
|
|
):
|
|
|
|
return SUCCESS
|
|
return FAILURE
|