How do I get the child's instance variable inside families

Just started using Construct 2? Post your questions here

Post » Wed Apr 12, 2017 3:17 am

Hello,

I would like to ask I have 2 objects Character (Sprite), and they have Speed instance variable.

I add these 2 objects Character to Family group with name MainCharacter.

The event I need is when mouse click on one of 2 objects, the action will set local number MoveCount = Speed (of the character that I clicked)

Need to use Family group because it will be more object like that. :?

Thank you very much :D

Image
B
4
S
1
Posts: 3
Reputation: 306

Post » Wed Apr 12, 2017 4:11 am

ImageImageImage
B
71
S
21
G
220
Posts: 3,648
Reputation: 123,725

Post » Wed Apr 12, 2017 1:04 pm

Thank you so much :D
B
4
S
1
Posts: 3
Reputation: 306


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests