What I had to do was instead of adding Red to the unit's actor I had to removed Green and Blue from the actor. This is the trigger:
Original Post
I am wanting to set the tint of an actor dependent on the life percentage of the unit. An example would be a unit has 100% life and will appear to be of normal coloring and tint. If that unit takes damage enough to bring them down to 99% they get a 1% red tint. Each percent gives them another 1% of red tint. Would this be possible?
Did you actually even try to do this or did you just post a theory question?
Yes it is entirely possible, and yes you would it like said above.
I tried, but when I did set the tint it could not compare to the life percentage. "...you would it like said above." And you are cocky to me. Anyways, I will try to do some sort of Unit Life Changes because of the reasoning above and do some kind of Repeat for a number that is the percentage lost or something.
I have tried what is below but it changes the HDR which I want the 100% changed under the Color line.
Did you actually even try to do this or did you just post a theory question?
Yes it is entirely possible, and yes you would it like said above.
I tried, but when I did set the tint it could not compare to the life percentage. "...you would it like said above." And you are cocky to me. Anyways, I will try to do some sort of Unit Life Changes because of the reasoning above and do some kind of Repeat for a number that is the percentage lost or something.
Edit:
I have tried this, but it changes the HDR which I want the 100% changed under the Color line.
This was a very simple exercise, and whilst you cannot expect everyone to know every little way to do things, it appeared from your first post's attitude that you had in fact not even tried to attempt this and instead were asking here to save yourself time.
This was a very simple exercise, and whilst you cannot expect everyone to know every little way to do things, it appeared from your first post's attitude that you had in fact not even tried to attempt this and instead were asking here to save yourself time.
Solved!
What I had to do was instead of adding Red to the unit's actor I had to removed Green and Blue from the actor. This is the trigger:
Original Post
I am wanting to set the tint of an actor dependent on the life percentage of the unit. An example would be a unit has 100% life and will appear to be of normal coloring and tint. If that unit takes damage enough to bring them down to 99% they get a 1% red tint. Each percent gives them another 1% of red tint. Would this be possible?
Updates
I have tried that but a different event because units will be able to regenerate health. It is a Unit Property Changes event.
I tried, but when I did set the tint it could not compare to the life percentage. "...you would it like said above." And you are cocky to me. Anyways, I will try to do some sort of Unit Life Changes because of the reasoning above and do some kind of Repeat for a number that is the percentage lost or something.
I have tried what is below but it changes the HDR which I want the 100% changed under the Color line.
There are trigger conditions for when a unit takes damage. There are actions which set the tint of actors...
Don't see why not.
Did you actually even try to do this or did you just post a theory question?
Yes it is entirely possible, and yes you would it like said above.
I have tried that but a different event because units will be able to regenerate health. It is a Unit Property Changes event.
I tried, but when I did set the tint it could not compare to the life percentage. "...you would it like said above." And you are cocky to me. Anyways, I will try to do some sort of Unit Life Changes because of the reasoning above and do some kind of Repeat for a number that is the percentage lost or something.
Edit:
I have tried this, but it changes the HDR which I want the 100% changed under the Color line.
Solved!
This is what I had to do:
Glad you have it solved.
But it wasn't explained very clearly what you were wanting help with
This was a very simple exercise, and whilst you cannot expect everyone to know every little way to do things, it appeared from your first post's attitude that you had in fact not even tried to attempt this and instead were asking here to save yourself time.
Calm down buddy.
?
Failed attempt at trolling?
@admielke: Go
Instead of responding like that you could simply say "Okay, I'll try to express myself more clearly next time".
Afterall people are here trying to help you, the least you could do is to be kind to them in return.