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
33
S
10
G
6
Posts: 259
Reputation: 6,801

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
88
S
44
G
16
Posts: 1,009
Reputation: 17,971

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests