bovido/scripts/can_wait_condition.gd

9 lines
158 B
GDScript

class_name CanWaitCodition
extends ConditionLeaf
func tick(_actor, _blackboard):
var num = randi_range(0, 1)
if num == 0:
return SUCCESS
return FAILURE