- Joined
- Feb 8, 2010
- Messages
- 34
I'm in a rather weird situation. I'm looking for a do...until function. Here's what the trigger looks like:
for each integer x for 1 to 15
y = random number from 1 to 21
z (integer) = my_array[y]
my array has values which are >= 1 and the rest, 0. In order to continue the trigger, z must be >= 1. How would I use wait for condition in order to ensure this? Or there could be another way to do this?
for each integer x for 1 to 15
y = random number from 1 to 21
z (integer) = my_array[y]
my array has values which are >= 1 and the rest, 0. In order to continue the trigger, z must be >= 1. How would I use wait for condition in order to ensure this? Or there could be another way to do this?