0
$\begingroup$

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!

$\endgroup$
7
  • 5
    $\begingroup$ It is hard to tell what your problem is in this specific case based on the details given. Please upload your blend file using a service such as blend-exchange.giantcowfilms.com $\endgroup$ Commented Apr 1, 2015 at 22:06
  • $\begingroup$ Well I was going to say that. $\endgroup$
    – ruckus
    Commented Apr 2, 2015 at 2:46
  • $\begingroup$ This is sooo confusing. $\endgroup$
    – ruckus
    Commented Apr 2, 2015 at 2:46
  • 1
    $\begingroup$ @Anson there are no doubles in the file , it creates one object at a time ? $\endgroup$
    – Chebhou
    Commented Apr 4, 2015 at 1:33
  • $\begingroup$ @Chebhou No, there are no duplicate objects, the enemies are created one every second, and the icosphere object is supposed to be created only once, with an "Always">Tap sensor. The health object is created every 30 seconds or so. $\endgroup$ Commented Apr 4, 2015 at 4:32

1 Answer 1

1
$\begingroup$

I figured out the problem. I just handled the problem locally in the Icosphere rather than controlling it with the Empty. Thanks!

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .