Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: TIGGYsmalls on April 27, 2013, 09:50:00 AM
-
I am changing the Main Colour of an material using its health.
Current Health / Max Health = A value between 0 and 1.
Now when I set the time in Ease Color it counts from 1 second rather than the continuous input of the health sum.
How do I get it to change with the value rather than starting time?
-
There must be a way to say in the script, "value" instead of "time"?
Or would I have to just keep looping back into the colour state with the updated time?
-
maybe look into lerp, and set color?
-
Cheers,
Vector Lerp to Vector XYZ to Floats to Set Property.
And its from 0 to 1 not 0 to 255. I got confused when my colour values went to 6000.