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
21
G
231
Posts: 3,688
Reputation: 129,352

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
59
S
21
G
9
Posts: 641
Reputation: 9,787


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 18 guests