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
67
S
26
G
12
Posts: 510
Reputation: 11,972


Return to How do I....?

Who is online

Users browsing this forum: bikachu, LaurenceBedford, lucstanislash, oosyrag and 10 guests