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
30
S
10
G
6
Posts: 257
Reputation: 6,722

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
81
S
38
G
14
Posts: 968
Reputation: 16,061

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: Tokinsom, Yahoo [Bot] and 3 guests