I am having trouble with the expression editor setting up some colour change animation.
I have a bool tag and an int tag.
I will have four possible colours displayed, based on the value of the Int tag. But only if the bool tag is true. If the bool tag is false I do not want any colour change on my object.
If BOOL_TAG = True, I would like the INT_TAG to determine the colour.
If BOOL_TAG = False, then I do not want any colour change.
Am struggling getting an expression to work for this, any advice would be appreciated.
thanks
I have a bool tag and an int tag.
I will have four possible colours displayed, based on the value of the Int tag. But only if the bool tag is true. If the bool tag is false I do not want any colour change on my object.
If BOOL_TAG = True, I would like the INT_TAG to determine the colour.
If BOOL_TAG = False, then I do not want any colour change.
Am struggling getting an expression to work for this, any advice would be appreciated.
thanks