Jump to content

[LE] Help with SKSE UI script functions


Recommended Posts

Okay bear with me...I'd like to give the player a 'secret' health pool of 1 million HP, but I'd like to 'fool' the UI into thinking that the player still has a normal amount of HP, e.g. 100. Therefore when the player loses 100 HP the health meter shows that it's empty, even though the player still has lots of 'secret' health left.

 

I *think* that in order to connect with Skyrim's UI in this way I need to make use of SKSE's UI script functions...something like UI.SetFloat(string menuName, string target, string value).

 

I think that the appropriate menuName I'm looking for is "HUD Menu"

 

However I'm stuck on the "target" string. I don't really know what I'm looking for, or where I would find the information which relates to the health meter. I've had a look through Mardoxx's GitHub files https://github.com/Mardoxx/skyrimui/tree/master/src

but I can't really see what the "target" would need to be. I don't know if I'm looking in the right place or not.

 

Any help would be very much appreciated!

Link to comment
Share on other sites

  • 2 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...