Condition Else seems not working

Get help using Construct 2

Post » Fri Dec 27, 2013 7:25 pm

Hi everyone
Condition Else seems not working.
I wanna do a highlight on the key when is touched.
And use a diferent highlight for etch diferent key, black and white.

https://googledrive.com/host/0B9_9Jtwta6dJTThKYmVPcFNTVEk/Key maker.capx




Some help ?

Tks
B
6
G
1
Posts: 14
Reputation: 1,378

Post » Fri Dec 27, 2013 7:28 pm

You added the else as a Sub to the event, put it on the same level (ie not as a sub, but directly below it as the next event)

Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Fri Dec 27, 2013 7:35 pm

yes,
i tried that. But seems he ignore the first condition e do the action with the "else" condition. Do the two actions. the IF and ELSE actions...
B
6
G
1
Posts: 14
Reputation: 1,378

Post » Fri Dec 27, 2013 7:40 pm

Event1: check condition : action
Event2: Else condition : action


but, you have a group between the two,with a lot of subs.

does the Else needs to be for the last option in the group ? or the is Maio check ?


If the else is suposed to be the last option for the checks in that group Condicao, you could add an else to everyone of the checks, and add the else to the bottom of the group, (if you not add them all, it would only trigger on the last if not true)


Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Fri Dec 27, 2013 7:44 pm

ImageImageImage
B
71
S
22
G
240
Posts: 3,734
Reputation: 133,994

Post » Fri Jan 03, 2014 7:50 pm

thank you so much
B
6
G
1
Posts: 14
Reputation: 1,378


Return to How do I....?

Who is online

Users browsing this forum: Euduardo and 25 guests