Refer to an instance using UID?

Get help using Construct 2

Post » Tue Aug 27, 2013 1:45 pm

How to I refer to an instance using UID in action panel? For example, I have instances A and B of type Object. How to set the A to invisible while doesn't mess with instance B?
B
23
S
9
G
3
Posts: 114
Reputation: 3,794

Post » Tue Aug 27, 2013 2:00 pm

the way i do this, is create a variable on the object to store it's own UID.
on created set variable to "Self.UID"
so when Variable = specific number; then action occurs.

hope this is what you needed =)
B
43
S
12
G
6
Posts: 446
Reputation: 6,802

Post » Tue Aug 27, 2013 2:15 pm

Thanks, it helped me a lot.
B
23
S
9
G
3
Posts: 114
Reputation: 3,794


Return to How do I....?

Who is online

Users browsing this forum: kalibark2, Yahoo [Bot] and 20 guests