Multible reaction matrix to same INT

Multible reaction matrix to same INT

hello,
I got a vector element, a cirle with a color for the line and a color for the background.
I want to change color of both line and background on the same variable(INT) that comes from the PLC. The integer represents different states depending on it's number.
So i have for example the value: 1 and i want it to only color the background green.
When i have 2 i want to be the background red and the line color has to blink from yellow to red.
The integer has about 20 states, and some states also will be used to show a letter beside my vector element. But for now i just want to get the colors working. From what i can see this is not possible with reaction matrixes since i can only connect 1 matrix to my integer.
I can something like this with a combined element only the problem i can only do this with the quare i draw with this element type. I want it to be working with every self made vector.
I something like this possible?

This is a migrated post! Originally posted on 22.05.2013 by user martijnvanspijk. Please be aware that information can be outdated.