RestoreActorValueAlt

From GECK
Jump to: navigation, search


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.
See Actor Value Functions



A function added by the JohnnyGuitar NVSE Plugin.

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

[help]
[ActorRefID].RestoreActorValueAlt ActorValueCode:int Value:int|float 

Or:

[ActorRefID].RestoreAVAlt ActorValueCode:int Value:int|float

Example

BuddyRef.RestoreActorValueAlt 16 5 

See Also