1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. D-Kay

    D-Kay Plugin Developer

    I can change the player health data by using:
    Code (Text):
    player.GetHealth().HeadHealth.MaxHealth = 0f;
    Though there are 2 problems with this.
    1. Might be coincidental but trying to modify the value to anything higher than the default in the mod files creates many problems (ncp's not trying to attack you anymore, sometimes even freezes). Any other way to savely set it without breaking the game or modifying the mod file would be very appreciated.
    2. Changing the value does not update the UI health bar values. I need a way to update this.
  2. Karltubing

    Karltubing Plugin Developer

    Did you ever figure this out D-Kay? I am working on something where I need to have player take damage if a certain outcome is met.
  3. Karltubing

    Karltubing Plugin Developer

    How can I make a player take damage with an actual damage event happening?