Skip to main content
edited tags
Link
Reworded the whole thing
Source Link
Anson Savage
  • 3.5k
  • 5
  • 32
  • 67

Adding Objects in Strange Places How to stop objects from second layer createing themselves

I'm making a first person game, and I have an emptya script that places theadds an object necessary to win the game inat a random, choice of predefined locationcoordinates. It is currently putting The script works just fine, but as with the object inother objects that are being added by the correct predefined locationempty that contains this script, but something is making another instance of this object appear above the mapobject is created in the center ofsame place as the game (the actual object isfirst enemy and health objects. I can't find anywhere in my code where it says to add these objects from the second layer and in a completely different position). What could be making this object appear there when My question is how can I don't tell it to? Thankseither 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!

Adding Objects in Strange Places

I'm making a first person game, and I have an empty that places the object necessary to win the game in a random, predefined location. It is currently putting the object in the correct predefined location, but something is making another instance of this object appear above the map in the center of the game (the actual object is in the second layer and in a completely different position). What could be making this object appear there when I don't tell it to? Thanks.

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!

Source Link
Anson Savage
  • 3.5k
  • 5
  • 32
  • 67

Adding Objects in Strange Places

I'm making a first person game, and I have an empty that places the object necessary to win the game in a random, predefined location. It is currently putting the object in the correct predefined location, but something is making another instance of this object appear above the map in the center of the game (the actual object is in the second layer and in a completely different position). What could be making this object appear there when I don't tell it to? Thanks.