You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
268 B
GDScript

extends Area
onready var turret_main = get_node("../../../../")
var seen_nodes = []
func body_entered(body: Node):
print(body.name+" just entered the vision!")
seen_nodes.append(body)
func body_exited(body: Node):
seen_nodes.remove(body)
func _ready():
pass