stuff
This commit is contained in:
15
objects/house.gd
Normal file
15
objects/house.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user