Page 1 of 1

destroying actors

PostPosted: Mon Oct 04, 2010 9:21 am
by smoothie
i have made an enemey for me to shoot and i have done it so that when the bullet hits the enemey it multiplis but i have made some clones of that one actor and when the bullet collides with enemey the actor multiplis but the clones dont and just get destoryed and i dont want that. please help

Re: destroying actors

PostPosted: Mon Oct 04, 2010 9:48 pm
by Leeesaw
Im not sure I understand correctly, but it sounds like ALL of your clones are reacting upon collision...

If this is the case:

Try changing
Collision>Destroy Actor> Enemy
to
Collision>Destroy Actor>Collide Actor

Re: destroying actors

PostPosted: Tue Oct 05, 2010 1:41 am
by smoothie
ok that did nothing this is what i did.

these are the 2 actors

dimond: the dimond is the actor i want the bullet to run into.
yellowshot: the yellowshot is the bullet.

dimond -> collision yellowshot -> destroy actor -> dimond

then i made my clones but when the bullet collides with the dimond the one that it hits muiltipli's but the rest of them get destroyed which is what i dont want. i only want them to get destroyed when the bullet collides with the dimond.

Re: destroying actors

PostPosted: Tue Oct 05, 2010 3:32 am
by zxcvbnm
smoothie wrote:ok that did nothing this is what i did.

these are the 2 actors

dimond: the dimond is the actor i want the bullet to run into.
yellowshot: the yellowshot is the bullet.

dimond -> collision yellowshot -> destroy actor -> dimond

then i made my clones but when the bullet collides with the dimond the one that it hits muiltipli's but the rest of them get destroyed which is what i dont want. i only want them to get destroyed when the bullet collides with the dimond.


Dude this is very easy to fix look dimond/ collision yellow shot/destroy actor/ collide actor

Instead of putting dimond ..select collide actor. That way the bullet only destroyes the actor it collides with rather than all of them. My name is krenisis , how are you and welcome to game editor.

Re: destroying actors

PostPosted: Tue Oct 05, 2010 3:57 am
by smoothie
what you told me to do did'nt work once again so in stead of chooseing collide actor i chose event actor and that ended up working the way i wanted it too.
collide actor just made lots of little dimonds and thats what i wanted but it didn't destroy the original actor

my name is nathan but is krenisis your real name.

and yes i am awesome thankyou for answering my question