How do I modify the health of player?

Post » Sun Jan 06, 2013 3:44 pm

I have a script that modifies the player's health in combat:
PlayerRef.ModActorValue("Health", HealthToAdd)

Then afterwards I check what the health change is. The output is something like 69 to 94, but the healthbar at the bottom increases with a very small small amount and not at the same interval, (e.g. my script runs every 1s, but the health increases slightly every 5s).

It seems the two are not in sync? How come I die when the GetAV says my health is &--#62; 50?

Using set, mod, or force, all have the same effect.
User avatar
N3T4
 
Posts: 3428
Joined: Wed Aug 08, 2007 8:36 pm

Return to V - Skyrim