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
100
S
23
G
38
Posts: 1,873
Reputation: 30,612

Post » Wed Mar 13, 2013 7:53 pm

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

B
51
S
15
G
8
Posts: 339
Reputation: 11,416

Post » Wed Mar 13, 2013 8:45 pm

no i have no idea
B
100
S
23
G
38
Posts: 1,873
Reputation: 30,612

Post » Wed Mar 13, 2013 8:57 pm

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

eg
if NOT textfield.text = ""
B
63
S
26
G
9
Posts: 868
Reputation: 11,719


Return to How do I....?

Who is online

Users browsing this forum: newt, Yahoo [Bot] and 5 guests