How do I do this action with a family?

Get help using Construct 2

Post » Sun Jan 31, 2016 4:52 pm

what I want to do:

family: block

event: ondrop block
sub-event: block overlapping with block
action: destroy block (only the block that I'm dropping)

nothing happens while it works if I do the same thing with 2 different objects not in the same family.
B
15
S
6
Posts: 56
Reputation: 1,237

Post » Sun Jan 31, 2016 7:35 pm

Just add another family to check collision with
on drop family1
family1 overlaps family2
family1 - do action
family2 - do action
Image
B
82
S
30
G
12
Posts: 517
Reputation: 12,763


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 5 guests