Hello there fellow nerds!
I am trying to run a conditional check within an array to see if a number contained is one of two values.
I know that | is the "Or" symbol and so by checking if array = 1 | 5, this should see if the value is either 1 or 5.
This does not seem to work and is yielding unwanted results.
pasteboard.co/1JpLXlsg.png
Expressions I have tried:
if Stance_Array = (1)|(5) play animation
if Stance_Array = 1|5 play animation
if Stance_Array = (1|5) play animation
if Stance_Array = ((1)|(5)) play animation
I'm not sure If I'm misunderstanding expressions but...Help please
Thanks in advance <3
Chris