GetNthEntryValue - Perk

From Creation Kit
Jump to: navigation, search

SKSE Member of: Perk Script

Minimum required SKSE Version: 1.06.07

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


float Function GetNthEntryValue(int n, int i) native


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 Value

The current Value of the Entry Point.


float currentMagMult = SomeModSpellMagnitudePerk.GetNthEntryValue(0, 0)


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

See Also

SetNthEntryValue - Perk