Jump to content

how to make an item restore health when at under 25% health?


dirtfoot84

Recommended Posts

So over the past two days I've been trying to get this enchantment on a piece of armor to work the way I want it.

 

Basically, what I want it to do is begin healing the player when health gets under a certain threshold, say under 50%.

 

Now, I can get the enchantment to work constantly without a problem. What I can't figure out is how to, WITHOUT scripting (as I dont know how to do that) make this happen.

 

So far I have gone through just about all of the conditions in the creation kit, such as GetHealthPercentage (which apparently doesn't work as I've tried all manners of numbers, and have found other threads where people say it just doesn't work), IsInjured, Isbleedingout, isinjured, etc..

 

Is this possible to do without creating a custom script for it? I don't want to put a dirty script in anyone's game so I haven't messed with it.

Link to comment
Share on other sites

So over the past two days I've been trying to get this enchantment on a piece of armor to work the way I want it.

 

Basically, what I want it to do is begin healing the player when health gets under a certain threshold, say under 50%.

 

Now, I can get the enchantment to work constantly without a problem. What I can't figure out is how to, WITHOUT scripting (as I dont know how to do that) make this happen.

 

So far I have gone through just about all of the conditions in the creation kit, such as GetHealthPercentage (which apparently doesn't work as I've tried all manners of numbers, and have found other threads where people say it just doesn't work), IsInjured, Isbleedingout, isinjured, etc..

 

Is this possible to do without creating a custom script for it? I don't want to put a dirty script in anyone's game so I haven't messed with it.

 

Okay after fiddling around through the conditions I found one I didn't see before:

 

GetActorValuePercent and I set it to value of <= 0.5, and chose to run it on player instead of subject.

 

This worked, it's what I was looking for exactly, just posting this as a reply in case anyone else has the same question in the future :)

Link to comment
Share on other sites

  • 2 years later...

Yeah this is helpful in that now we know it can be done. But would you be able to list the steps you took in order to make this happen? I've been tinkering with a player home mod ( I know, such groundbreaking originality ). And one of the things I'd like to do is have the player walk up to a tree, activate it, and it restores health. This is actually similar to objects we find in Apocrypha where the player can walk up to an object and it will restore stamina or majicka. I just don't want to make the DLC's required for my mod.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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