Multiple objects, set only one

Get help using Construct 2

Post » Tue Aug 20, 2013 8:37 pm

If I have multiple Text object with the same name (different UID), how can I set the text for one in particular?

If I add an action to Set Text, I cannot select only one of them so the text will change for all of them.

Since you can do it in design time I guess it's possible with an action no?

Thanks in advance!

B
4
Posts: 7
Reputation: 464

Post » Tue Aug 20, 2013 8:39 pm

Give them unique names
B
46
S
16
G
73
Posts: 2,080
Reputation: 43,669

Post » Tue Aug 20, 2013 8:52 pm

Give the objects a variable and check for that variable before setting text.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests