How do I get this if statement to work

Get help using Construct 2

Post » Tue May 27, 2014 12:32 am

Hey there,

Maybe I am a little tired but should this work?

Image

Basically I want the text of the button to change depending on whether or not they own the weapon but it is doing nothing.

Obviously I am wrong. Can someone help me out here? Is that not how you do an if statement inside an event?
B
7
S
2
Posts: 32
Reputation: 541

Post » Tue May 27, 2014 12:36 am

Event two is a single statement! Break them apart. Or keep one and use Else for the other.
ImageImageImage
B
71
S
22
G
274
Posts: 3,827
Reputation: 151,297

Post » Tue May 27, 2014 12:37 am

Whelp. I blame that on the late hour :P

Thanks blackhornet!
B
7
S
2
Posts: 32
Reputation: 541

Post » Tue May 27, 2014 12:44 am

I'd do something like this:

Image

EDIT//

Beaten by BlackHornet! :lol:
B
67
S
26
G
11
Posts: 673
Reputation: 11,557


Return to How do I....?

Who is online

Users browsing this forum: jhjconstruct and 12 guests