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!
$\begingroup$
$\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$– X-27 is done with the networkCommented Apr 1, 2015 at 22:06
-
$\begingroup$ Well I was going to say that. $\endgroup$– ruckusCommented Apr 2, 2015 at 2:46
-
$\begingroup$ This is sooo confusing. $\endgroup$– ruckusCommented Apr 2, 2015 at 2:46
-
1$\begingroup$ @Anson there are no doubles in the file , it creates one object at a time ? $\endgroup$– ChebhouCommented 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$– Anson SavageCommented Apr 4, 2015 at 4:32
|
Show 2 more comments
1 Answer
$\begingroup$
$\endgroup$
I figured out the problem. I just handled the problem locally in the Icosphere rather than controlling it with the Empty. Thanks!