bovido/scripts/enemy/behavior_tree/can_wait_condition.gd

11 lines
155 B
GDScript3
Raw Normal View History

2023-06-12 17:58:06 +02:00
class_name CanWaitCodition
extends ConditionLeaf
func tick(actor, _blackboard):
2023-07-01 13:26:45 +02:00
if (
actor.next_target == null
):
return SUCCESS
return FAILURE