Topic: Change Character State after health loss

I'm attempting to edit the character models so that when in combat, the renderer of certain pieces of clothing are turned off when the life amount of a character is below a certain value.

Any hints as to where I can access this health value of a character when they are hit to turn off the renderer when this happens?

Share

Thumbs up Thumbs down

Re: Change Character State after health loss

I've almost got the functionality that I'm going for by accessing : UFE.GetPlayer1ControlsScript().currentLifePoints, but this explicitly picks one or the other characters.

How can I simply access the .currentLifePoints var of the character that I've assigned my script onto?

Share

Thumbs up Thumbs down