GetNthEntryValue - Perk
Revision as of 22:52, 22 November 2013 by imported>Egocarib
SKSE Member of: Perk Script
Minimum required SKSE Version: 1.06.07
Obtains the current value from a Perk's Entry Point Value field.
Syntax[edit | edit source]
float Function GetNthEntryValue(int n, int i) native
Parameters[edit | edit source]
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[edit | edit source]
The current Value of the Entry Point.
Examples[edit | edit source]
float currentMagMult = SomeModSpellMagnitudePerk.GetNthEntryValue(0, 0)
Notes[edit | edit source]
- Changes made with this function will persist across separate save loads but not across full game restarts.