Family collision problem

Get help using Construct 2

Post » Sun Mar 22, 2015 6:24 am

I have two families:
weapon and bosses

There's an event that check the collision between both of themz:
Weapon Family on collission with Boss Family

The problem starts when I want to check the collision between the weapon family with one of the bosses in the family:
Weapon Family on collission with Boss A.
Because I want specific actions for that specific boss
C2 doesn't execute/ignoring the actions.

Is there a rule in this case that I've missed?
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Sun Mar 22, 2015 11:03 am

Hi,

I think it should work. Check the collision mask.
For a workaround, you could use on collision with family and add a for each loop on your BossA and add this condition Boss.UID= BossA.UID
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Sun Mar 22, 2015 2:06 pm

the event needs to be:

Weapon_Family on collision with Boss_Family
Boss_A, pick instance with UID Boss_Family.UID

& that will pick the Boss_A family member
B
27
S
12
G
1
Posts: 157
Reputation: 3,359

Post » Sun Mar 22, 2015 4:41 pm

Can I see your event sheet snapshot? ? Cause if it's what I think the way Ashley explained to me is when an instance is picked it's picked for that one event so any sub event will go by what was initially picked what you have to do for the sub event is do system pick all with the pick uid for it to work. If you have it set up the way I think it will "ignore" the event. As you can see here when he was explaining to me viewtopic.php?f=152&t=124652
B
23
S
4
G
2
Posts: 364
Reputation: 2,392


Return to How do I....?

Who is online

Users browsing this forum: BackendFreak, OddConfection, vutankhoa2015 and 22 guests