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
28
S
10
G
6
Posts: 251
Reputation: 6,655

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
73
S
33
G
11
Posts: 935
Reputation: 13,797

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: bullehshah6 and 3 guests