destroying actors

Game Editor comments and discussion.

destroying actors

Postby smoothie » Mon Oct 04, 2010 9:21 am

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
User avatar
smoothie
 
Posts: 32
Joined: Sat Oct 02, 2010 11:51 am
Score: 0 Give a positive score

Re: destroying actors

Postby Leeesaw » Mon Oct 04, 2010 9:48 pm

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
Attachments
Untitled-3.png
User avatar
Leeesaw
 
Posts: 20
Joined: Tue Sep 28, 2010 5:28 pm
Score: 0 Give a positive score

Re: destroying actors

Postby smoothie » Tue Oct 05, 2010 1:41 am

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.
User avatar
smoothie
 
Posts: 32
Joined: Sat Oct 02, 2010 11:51 am
Score: 0 Give a positive score

Re: destroying actors

Postby zxcvbnm » Tue Oct 05, 2010 3:32 am

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.
Check out Momo AlienStarcatcher , featured in apples new and noteworthy and has 5 star reviews!!!
http://itunes.apple.com/us/app/momo-ali ... 61779?mt=8
zxcvbnm
 
Posts: 248
Joined: Sun Aug 22, 2010 7:57 pm
Score: 10 Give a positive score

Re: destroying actors

Postby smoothie » Tue Oct 05, 2010 3:57 am

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
User avatar
smoothie
 
Posts: 32
Joined: Sat Oct 02, 2010 11:51 am
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron