bovido/scripts/can_wait_condition.gd

9 lines
158 B
GDScript3
Raw Normal View History

2023-06-12 17:58:06 +02:00
class_name CanWaitCodition
extends ConditionLeaf
func tick(_actor, _blackboard):
var num = randi_range(0, 1)
if num == 0:
return SUCCESS
return FAILURE