10 lines
181 B
GDScript
10 lines
181 B
GDScript
extends ConditionLeaf
|
|
|
|
func tick(actor:Node,black_board:Blackboard):
|
|
#如果有设置目标地点
|
|
if black_board.has_value("run_pos"):
|
|
|
|
return SUCCESS
|
|
else:
|
|
return FAILURE
|