Mod:Creation Kit/RestoreValue - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Restores (or "heals") damage done to the specified Actor Value on this Object Reference.

Syntax
Function RestoreActorValue(ActorValue akAV, float afAmount) native

Parameters

 * akAV: The Actor Value to restore. Mod:Creation Kit/Actor Value List
 * afAmount: How much to restore it by.

Return Value
None.

Examples
ActorValue property HealthAV Game.GetPlayer.RestoreValue(HealthAV, 10) ActorValue property HealthAV Bob.RestoreValue(HealthAV, 5)
 * Restore the player's health by 10
 * Restore Bob's health by 5