Skip to main content
2 of 3
Reworded the whole thing
Anson Savage
  • 3.5k
  • 5
  • 32
  • 67

How to stop objects from second layer createing themselves

I have a script that adds an object at a random choice of predefined coordinates. The script works just fine, but as with the other objects that are being added by the empty that contains this script, another instance of the object is created in the same place as the first enemy and health objects. I can't find anywhere in my code where it says to add these objects from the second layer. My question is how can I either make the first instances of these objects automatically delete themselves, or, make the objects not appear in the first place. Here is the .blend (to see the problem, view from the top middle of the map. Thanks!

Anson Savage
  • 3.5k
  • 5
  • 32
  • 67