Hello
Today I was thinking if it was possible to compare a random value in a conditino without first setting a random value to a variable..
normally I first add a condition that adds a random value to a variable, like random(3) (this can be 0, 1 or 2)
then I add another condition that compare this variable result with another value of my choice and depending of the choice, a different action will be performed.
but, is it possible to jump the part of adding a random value to a variable and instead compare directly in the condition? example:
<CONDITION>
SYSTEM - round(random(3)) = 2
SYSTEM - trigger once
<ACTION>
set Text1.Text "It works"
else
set Text1.Text "Oops"
right now if I do that, the condition will test all the possibilities of the random expression and so will always trigger the action setting the text to "It works". My question is if there is a way that the condition will only try 1 value of the random expression and then stop.