GetNthEntryValue - Perk

SKSE Member of: Perk Script

Minimum required SKSE Version: 1.06.07


Obtains the current value from a Perk's Entry Point Value field.

SyntaxEdit

float Function GetNthEntryValue(int n, int i) native

ParametersEdit

n: the index of the Entry Point in the Perk Entries list (0 indicates the first entry)

i: the index of the value to get (0 to get the first value, 1 to get the second value if there is one)

Return ValueEdit

The current Value of the Entry Point.

ExamplesEdit

float currentMagMult = SomeModSpellMagnitudePerk.GetNthEntryValue(0, 0)

NotesEdit

  • Changes made with this function will persist across separate save loads but not across full game restarts.

See AlsoEdit

SetNthEntryValue - Perk