Files
academy2-game/objects/house.gd
Segey Lapin d6c8a24f5a stuff
2021-10-26 21:52:15 +03:00

16 lines
294 B
GDScript3

extends Spatial
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
for g in get_children():
if g.name.begins_with("spawn"):
g.add_to_group("spawn")
$spawn_npc1.add_to_group("keep")