GetThresholdedActorValue

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin version 4.20.

Description

Returns thresholded (capped) value of an Actor Value. Various actor values have flags specifying their minimum and maximum values, such as 1 and 10 for Charisma or 0 and 100 for Barter, even though these stats can have values outside of this range. The game uses thresholded actor values for calculations, such as detection formula.

Syntax

[help]
(float) actor.GetThresholdedActorValue name:ActorValue 

Or:

(float) actor.GetThresholdAV name:ActorValue

Example

Player.GetThresholdAV Barter