1. D-Kay

    D-Kay Shack Builder 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.