. . . Posted December 20, 2017 Share Posted December 20, 2017 (edited) I want to make my character to flash a white when on low health. I tried using this code but it doesn't seem to do anything? inst.AnimState:SetMultColour(255, 255, 255, 1) Edited December 21, 2017 by SuperDavid Link to comment https://forums.kleientertainment.com/forums/topic/85618-solved-how-to-change-characters-color/ Share on other sites More sharing options...
rons0n Posted December 20, 2017 Share Posted December 20, 2017 Have you tried: inst.AnimState:SetMultColour(255/255,255/255,255/255,1)? Replacing the first 255 before the slash with the right RGB number? Like how: inst.AnimState:SetMultColour(117/255,115/255,251/255,1) Would give me a light purple color. Link to comment https://forums.kleientertainment.com/forums/topic/85618-solved-how-to-change-characters-color/#findComment-985967 Share on other sites More sharing options...
Leonardo Cox Posted December 20, 2017 Share Posted December 20, 2017 Players also have colourtweener component, so you could do inst.components.colourtweener:SetTween({2,2,2,1}, 0.5) to make it nice and smooth. Link to comment https://forums.kleientertainment.com/forums/topic/85618-solved-how-to-change-characters-color/#findComment-986003 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now