Figured I would go ahead and post this as I believe I have found a solution.
So rather than using WriteableIntegers I used WriteableBooleans like so:
Where the “= x,y,z” corresponds to:
x = boolean true or false (1 or 0)
y = the map color for if the x is true
z = the map color for if the x is false.
I also changed all the || (logical OR) into just | (bitwise OR) as I wanted a numerical value for transform map rather than a boolean true/false.
The objective was to change the color of an icon depending on which tags were true. The top-most IF statement takes precedence over the bottom-most so if Boolean2 and Boolean7 are true, the icon would appear as Boolean2’s color mapping, once Boolean2 clears to false, Boolean7’s color map becomes the icon color.
I haven’t gotten to try this in my actual project (which is where it needs to work) so I will update on if it works there too when I get to try it out.
