Check headshot

Get help using Construct 2

Post » Fri Nov 18, 2011 4:46 am


Is there a way to have 2 objects connect together? Example a zombie have seperated head and body, when the head destroyed, the body will be destroyed too?

I want to mass the zombies instead of create one by one.
B
34
S
8
G
5
Posts: 174
Reputation: 5,791

Post » Fri Nov 18, 2011 11:27 am

There are ways to do it with workarounds (possibly by using UID), but I think it'd probably be best to wait for families to come out.

Alternatively, you could create your own ID-based system, where you have each having an instance variable (ZombieHead.Number and ZombieBody.Number), then check the number of the head when it's destroyed, and subsequently destroy the body which contains that same number.
B
14
S
1
G
2
Posts: 85
Reputation: 2,810


Return to How do I....?

Who is online

Users browsing this forum: bluemonkey and 24 guests