Description
Wiki Description
Restores (or "heals") damage done to the specified Actor Value on this Object Reference.
Documentation Comment
Restores damage done to the actor value(up to 0 damage)
Caveats
Parameters
floatafAmount
CK Wiki Description
How much to restore it by.
Examples
ActorValue property HealthAV
; Restore the player's health by 10
Game.GetPlayer().RestoreValue(HealthAV, 10)ActorValue property HealthAV
; Restore Bob's health by 5
Bob.RestoreValue(HealthAV, 5)Auto-Generated Example
ActorValue myActorValue__akAV
float myFloat__afAmount
myObjectReference__toCallFunctionOn.RestoreValue(myActorValue__akAV, myFloat__afAmount)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
