Why am I struggling with Interpolate here?
I have an actor that has a Rule that looks like this:
When game.attribute = 1, interpolate self.color to 0 over .5 seconds. in the OTHERWISE section I have another rule that When game.attribute = 0 interpolate self.color to 1 over .5 seconds.
This should give me a fading in/fading out effect. However, it doesn't work. Why does this not work?
When game.attribute = 1, interpolate self.color to 0 over .5 seconds. in the OTHERWISE section I have another rule that When game.attribute = 0 interpolate self.color to 1 over .5 seconds.
This should give me a fading in/fading out effect. However, it doesn't work. Why does this not work?
Comments
Also you dont have to have the second interpolate in a rule when game attribute=0. Having it in the otherwise section will do that for you, cause whenever the attribute is not 1 ( mening 0) it will do the behavior. No need for the extra rule.
edit: nm.