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
12
S
5
Posts: 55
Reputation: 1,060

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
70
S
27
G
12
Posts: 512
Reputation: 12,153


Return to How do I....?

Who is online

Users browsing this forum: plinkie, wizdigitech and 7 guests