I wonder if there's any way to do this:
I got 1 string variable color with 3 values: blue, green and red. And I got 3 int variables for each color: blueTimer, greenTimer and redTimer
Depending on which value you have for color, I want the action WAIT X SECONDS to have its respective color timer.
I tried doing this:
but the action won't take strings (totally comprehensible, you can't wait blue seconds). Is there any way to achieve it with a single action or do I have to do 3 separate events, like this:
if color is blue, wait blueTimer
if color is green, wait greenTimer
if color is red, wait redTimer