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
41
Posts: 1,877
Reputation: 32,397

Post » Wed Mar 13, 2013 7:53 pm

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

B
58
S
17
G
8
Posts: 341
Reputation: 11,855

Post » Wed Mar 13, 2013 8:45 pm

no i have no idea
B
103
S
25
G
41
Posts: 1,877
Reputation: 32,397

Post » Wed Mar 13, 2013 8:57 pm

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

eg
if NOT textfield.text = ""
B
72
S
33
G
11
Posts: 927
Reputation: 13,760


Return to How do I....?

Who is online

Users browsing this forum: bigezy80, brair_user, Exabot [Bot], Zaksoid and 14 guests