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
72
S
22
G
290
Posts: 3,886
Reputation: 159,513

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
69
S
27
G
13
Posts: 697
Reputation: 12,780


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 15 guests