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
257
Posts: 3,788
Reputation: 142,692

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
64
S
24
G
10
Posts: 652
Reputation: 10,738


Return to How do I....?

Who is online

Users browsing this forum: Anonnymitet, babymumu and 6 guests