that condition, "or" that other condition

Get help using Construct 2

Post » Sun Oct 06, 2013 3:11 am

I have this, for example:

-if right arrow is down
-and up arrow is down
-then play the "aiming diagonally/up" animation.

and everything is ok. But that only works with the character not mirrored. To make it work the other way aswell I must duplicate the whole event and replace "right" for "left".

I guess there's other way to do this using less space, like this:

-if (right arrow) OR (left arrow) are down
-and up arrow is down
-then play the "aiming diagonally/up" animation.

How do I do this? I've found the "make OR grup", but it applies to the whole event, and that doesn't work cause I have other conditions that must be always active. I mean, it would also put "OR up arrow is down", and the up arrow thing must be always active.Borghi2013-10-06 03:13:07
B
5
S
1
Posts: 92
Reputation: 609

Post » Sun Oct 06, 2013 3:20 am

Keep your Left OR Right conditions, but make the Up condition a subevent of that.
ImageImageImage
B
71
S
22
G
257
Posts: 3,788
Reputation: 142,692

Post » Sun Oct 06, 2013 4:26 am

great!
B
5
S
1
Posts: 92
Reputation: 609


Return to How do I....?

Who is online

Users browsing this forum: YoHoho and 7 guests