Array at (Loopindex("X")-1, Loopindex("Y")) = 0|4|9|12
is exactly the same as
Array at (Loopindex("X")-1, Loopindex("Y")) = 1
The "0|4|9|12" evaluates down to "1".
To do what you intended use system compare:
(Array.at(Loopindex("X")-1, Loopindex("Y"))=0)|(Array.at(Loopindex("X")-1, Loopindex("Y"))=4)|(Array.at(Loopindex("X")-1, Loopindex("Y"))=9)|(Array.at(Loopindex("X")-1, Loopindex("Y"))=12) = 1
Thanks ROJOhound, but I am still confused. I am trying to populate the Array at loopindex("x"), loopindex("y") with (0 or 4 or 9 or 12 or whatever numbers I supply) randomly picked.
So if I understand you, | will give you a 0 or 1 as true or false? Mabey my example is way off base...