ForceActorValueAlt

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

ForceActorValueAlt modifies the current stat to the specified value (not to be confused with SetActorValue, which changes the BASE value of the stat), using a numeric Actor Value code instead of a stat name.

Syntax

[help]
[ActorRefID].ForceActorValueAlt ActorValueCode:int Value:int 

Or:

[ActorRefID].ForceAVAlt ActorValueCode:int Value:int

Example

ForceActorValueAlt 16 50 

See Also