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
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Wed Mar 13, 2013 7:53 pm

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

B
62
S
19
G
8
Posts: 341
Reputation: 12,075

Post » Wed Mar 13, 2013 8:45 pm

no i have no idea
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Wed Mar 13, 2013 8:57 pm

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

eg
if NOT textfield.text = ""
B
82
S
39
G
15
Posts: 982
Reputation: 16,712


Return to How do I....?

Who is online

Users browsing this forum: Darth Crusher, zsoldiers and 5 guests