How do I get specific object variables from family

Get help using Construct 2

Post » Wed May 28, 2014 2:36 am

Hey there,

I am trying to get a specific variable from a specific object in a family.

Basically I want to get the x and y values from an item that is equiped in the family.

This is what I have so far:
Image

But I can't see how I can access the specific variable of the object that meets the conditions.

Can anyone help me out here? Thanks!
B
7
S
2
Posts: 32
Reputation: 541

Post » Wed May 28, 2014 12:09 pm

If ll your weapons have the same variable name, you can try to test "weapons.VariableName"
B
3
Posts: 13
Reputation: 303


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests