Implement multiple contitions ?

Get help using Construct 2

Post » Mon Jan 21, 2013 4:23 pm

Hi guys, please help me on the following problem I try to solve for the last days :
I compute some random value and then I want to do things by checking the range of the value and some other things. For example :
myvar = random(100)
if (myvar >= 0) and (myvar <= 10) and (checkA) then do_action_A
else
if (myvar > 10) and (myvar <= 20) and (checkB) then do_action_B
else
.....
else
do_some_default_action

I have tried using System/Compare values and also Branch component but could find some solution, probably because I am used writing code and not working on this design-style interface.

Please help how can I implement that.
Thank you in advance.
B
5
Posts: 21
Reputation: 880

Post » Mon Jan 21, 2013 5:11 pm

Nevermind, I found solution.
Thanks anyway.
B
5
Posts: 21
Reputation: 880


Return to How do I....?

Who is online

Users browsing this forum: plinkie and 15 guests