changing text in text obiect on events

Get help using Construct 2

Post » Fri Oct 16, 2015 11:28 am

I have one text objects copied many times in layout, every text have other description.
Now when i change on event sheet text, i change text in all text object

But

Every object have other UID

so its possible to change text on right UID?
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Fri Oct 16, 2015 12:15 pm

You could do it by uid, by giving them an instance variable and many other ways to pick the correct one..

For using the UID:
The Text-object has a pick by unique ID - condition..

I usually choose to add an instance variable "function" and give it the name of what I want displayed..
I think it makes it so much easier to find the right one in the event sheet..
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

Post » Fri Oct 16, 2015 5:10 pm

@LittleStain

I dont get it im afraid

where i must start with this?
"
For using the UID:
The Text-object has a pick by unique ID - condition..
"
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Fri Oct 16, 2015 6:05 pm

delgado wrote:@LittleStain

I dont get it im afraid

where i must start with this?
"
For using the UID:
The Text-object has a pick by unique ID - condition..
"


Really?

Add an event..
Choose the text object to create the event with..
Choose pick by unique ID from the dialog showing all the options for conditions..
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

Post » Fri Oct 16, 2015 6:39 pm

Can use pick ...
Can use foreach text....
Can use text with condition campare two put in text.uid = xyz
etc
many ways to peel a banana.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718


Return to How do I....?

Who is online

Users browsing this forum: mariusvm and 14 guests