SetNthEntryValue - Perk

From the CreationKit Wiki
Revision as of 04:34, 7 October 2013 by imported>Doulos (→‎Notes)
Jump to navigation Jump to search

SKSE Member of: Perk Script

Minimum required SKSE Version: 1.06.07


Syntax

bool Function SetNthEntryValue(int n, int i, float value) native

Return Value

Examples

Notes

The n value is the index of the entry in the perk, starting from 0. So if there are three entries for perk MyPerk, then MyPerk.SetNthEntryValue(0, 1, 100) would set the value of the first entry (indexed to 0) to 100. MyPerk.SetEntryValue(2, 1, 100) would set the value of the third entry to 100 and so on.

See Also