Yes, basically I have four values on 4 different expression sliders. They will constantly be differing values, but depending on which value is the highest I want a text layer to be a certain color. So (in pseudo code) ideally it would be something like:
if
x is highest = make this text layer green
y is highest = make this text layer yellow
z is highest = make this text layer blue
w is highest = make this text layer red
Filip’s code works for two values, but four is a bit more perplexing. Do i have to nestle the statements?
Also, I am not sure how to determine the colors exact values using the odd [1,1,1,0] format of after effects. I have the RGB values, is the conversion just divided by 255?
Thanks for all your help thus far.
Erin.