how compare text

Get help using Construct 2

Post » Wed Mar 13, 2013 7:34 pm

i mean if in text object is typed anything ->do something.
I dont see than kind of condition i think this will be useful
@Ashley
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Wed Mar 13, 2013 7:53 pm

Did you try comparing the text to see if it does not equal ""?

B
63
S
19
G
8
Posts: 341
Reputation: 12,130

Post » Wed Mar 13, 2013 8:45 pm

no i have no idea
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Wed Mar 13, 2013 8:57 pm

You would simply use "invert" on if textfield.text = ""

eg
if NOT textfield.text = ""
B
87
S
44
G
16
Posts: 1,005
Reputation: 17,938


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, YoHoho and 24 guests