How can I set a variable based on location? The object will be on the center Axis, but will be positive or negative at any point.
(X,Y,Z)
(POSITIVE, 0, 0) - North (set variable to 0)
(NEGATIVE, 0, 0) - South (set variable to 1)
(0, POSITIVE, 0) - West (set variable to 2)
(0, NEGATIVE, 0) - East (set variable to 3)


