Sorry to dig this old topic, but my question is in the title... and it is unsolved as far as I'm concerned :/
R0j0's answer may be correct when the condition is related to an object, but what if it is related to a variable ?
Simple example :
- we are making a platformer
- we have two variables, one reflecting the left stick direction (LStick), the other stating if the player is crouched or not (IsCrouching)
- LStick can be set to "Up", "Down", "DownRight", "DownLeft"
- we want to set up a loop, instead of three redundant loops, that says :while (LStick="Down" OR LStick="DownRight" OR LStick="DownLeft")
then IsCrouching= "True"
I've tried the "Pickbycomparison" but variables are not attached to an object so I don't know what to do...
Many, maaaany thanks in advance for the one who'll be able to answer me =)
(also, a quick side question : can you add an Else event after a While loop ? So that if the while loop is not working the IsCrouching is set to "False" again