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
103
S
25
G
43
Posts: 1,879
Reputation: 33,403

Post » Wed Mar 13, 2013 7:53 pm

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

B
61
S
17
G
8
Posts: 341
Reputation: 11,940

Post » Wed Mar 13, 2013 8:45 pm

no i have no idea
B
103
S
25
G
43
Posts: 1,879
Reputation: 33,403

Post » Wed Mar 13, 2013 8:57 pm

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

eg
if NOT textfield.text = ""
B
78
S
36
G
13
Posts: 955
Reputation: 15,260


Return to How do I....?

Who is online

Users browsing this forum: Jhorbam and 10 guests