Different variable defaults for family members

Get help using Construct 2

Post » Fri May 24, 2013 7:44 pm

I'd like to make different members of an object family all share a family instance variable (like HP and Damage), but all have different values for this variable. I can probably just give each different family member an _HP and _Damage variable and an event sheet that copies these values to their family instance variables for each enemy, but I'd much prefer if I didn't have to do that as I plan to have many, many different enemies and do the same for different families like weapons.

Is there an easier way to do this or am I stuck with the method described above?
B
8
S
1
Posts: 97
Reputation: 826

Post » Fri May 24, 2013 8:28 pm

Just add the variable to the family and then select each object and set it's value.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Fri May 24, 2013 11:01 pm

Perfect! Thanks!
B
8
S
1
Posts: 97
Reputation: 826


Return to How do I....?

Who is online

Users browsing this forum: spacedoubt and 3 guests