Difference between revisions of "GetNthEntryValue - Perk"

Jump to navigation Jump to search
572 bytes added ,  22:52, 22 November 2013
no edit summary
imported>A.ellis
m (A.ellis moved page GetNthEntryValue to GetNthEntryValue - Perk)
imported>Egocarib
 
Line 6: Line 6:
{{SKSEFunction|1.06.07}}
{{SKSEFunction|1.06.07}}


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


== Syntax ==
== Syntax ==
Line 11: Line 13:
float Function GetNthEntryValue(int n, int i) native
float Function GetNthEntryValue(int n, int i) native
</source>
</source>
== Parameters ==
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 ==
== Return Value ==
The current ''Value'' of the Entry Point.


== Examples ==
== Examples ==
<source lang="papyrus">
float currentMagMult = SomeModSpellMagnitudePerk.GetNthEntryValue(0, 0)
</source>


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


== See Also ==
== See Also ==
[[SetNthEntryValue - Perk]]
Anonymous user

Navigation menu