RestoreActorValueAlt
From GECK
(Redirected from RestoreAVAlt)
Function Deprecated This function should no longer be used. This page has been left for historical documentation purposes only. xNVSE allows using Actor Value codes without the need for alternative functions. |
A function added by the JohnnyGuitar NVSE Plugin.
Contents
Description
RestoreActorValueAlt alters the damage modifier of a given actor value using a numeric Actor Value code instead of a stat name. The damage modifier is always a negative number, or zero if there is no damage to the actor value. RestoreActorValueAlt will increase the modifier by the given amount.
Syntax
[ActorRefID].RestoreActorValueAlt ActorValueCode:int Value:int|float
Or:
[ActorRefID].RestoreAVAlt ActorValueCode:int Value:int|float
Example
BuddyRef.RestoreActorValueAlt 16 5