Plans for automatic "pick instance UID" system?

Discussion and feedback on Construct 2

Post » Thu Jan 24, 2013 10:54 pm

Ok, think I got it. Seems it had something to do with how I used "families". Gonna have to look into that a bit further. Thanx a million for the help..

Hmm this thread should probably been posted in "How do I.." considering how it turned out.. sorry about that
B
21
S
7
G
4
Posts: 221
Reputation: 5,070

Post » Fri Jan 25, 2013 4:24 pm

If you put all of your baddies into a family called "baddies_family" let say.

Then select the family in the project list on the right hand side.

then add a family instance variable eg: health on its properties on the left hand side of the screen.

then you use
bullet on collision with "baddies_family"
->subtract 5 from "baddies_family" health

it will only subtract the health from the specific baddie in the family it hit.
B
50
S
21
G
8
Posts: 844
Reputation: 10,299

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests