Destroy an instance floating around another.

Get help using Construct 2

Post » Sat Jan 18, 2014 12:21 pm

Hi =) guys

i have a problem... see
i have an enemie that has a ball going around him...
the enemie has a viariable for hp

so when hp its -/= to 0 destroy the enemie...
but how can i do to pick the ball that was floating around the enemie and destroy it aswell wihtout destoying all the other enemie's "balls"( haha.... balls) in the level too??   

i really appreciate your help... the community has helped me a lot :)
thanks!!!Lunatrap2014-01-18 12:22:19
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Sat Jan 18, 2014 12:23 pm

put the enemy and the ball in a container.
When the enemy gets destroyed the ball will automatically too.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Jan 18, 2014 12:26 pm

[QUOTE=LittleStain] put the enemy and the ball in a container.
When the enemy gets destroyed the ball will automatically too.[/QUOTE]

a container?? first time heard of it... i will investigate and report results =) thanks!!Lunatrap2014-01-18 12:27:02
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Sat Jan 18, 2014 12:37 pm

[QUOTE=LittleStain] put the enemy and the ball in a container.
When the enemy gets destroyed the ball will automatically too.[/QUOTE]


it WORKED =d thanks!!! :D you are awesome thanks for your time =)
B
23
S
6
G
3
Posts: 316
Reputation: 3,461


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests