GetNthEntryValue - Perk

Revision as of 23:52, 22 November 2013 by imported>Egocarib
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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