Perk Script: Difference between revisions
Jump to navigation
Jump to search
added descriptions for all SKSE Member Functions
imported>CraftySentinel m (→SKSE Member Functions: Formatting Change) |
imported>Egocarib (added descriptions for all SKSE Member Functions) |
||
| Line 30: | Line 30: | ||
|- | |- | ||
|[[GetNumEntries - Perk|Int '''GetNumEntries'''()]] | |[[GetNumEntries - Perk|Int '''GetNumEntries'''()]] | ||
| | |Returns the number of entries in this Perk's ''Perk Entries'' list | ||
|- | |- | ||
|[[GetNthEntryRank - Perk|Int '''GetNthEntryRank'''(Int ''n'')]] | |[[GetNthEntryRank - Perk|Int '''GetNthEntryRank'''(Int ''n'')]] | ||
| | |Returns the rank of the entry at index '''n''' | ||
|- | |- | ||
|[[SetNthEntryRank - Perk|Bool '''SetNthEntryRank'''(Int ''n'', Int ''rank'')]] | |[[SetNthEntryRank - Perk|Bool '''SetNthEntryRank'''(Int ''n'', Int ''rank'')]] | ||
| | |Sets the rank of the entry at index '''n''' | ||
|- | |- | ||
|[[GetNthEntryPriority - Perk|Int '''GetNthEntryPriority'''(Int ''n'')]] | |[[GetNthEntryPriority - Perk|Int '''GetNthEntryPriority'''(Int ''n'')]] | ||
| | |Returns the priority of the entry at index '''n''' | ||
|- | |- | ||
|[[SetNthEntryPriority - Perk|Bool '''SetNthEntryPriority'''(Int ''n'', Int ''priority'')]] | |[[SetNthEntryPriority - Perk|Bool '''SetNthEntryPriority'''(Int ''n'', Int ''priority'')]] | ||
| | |Sets the priority of the entry at index '''n''' | ||
|- | |- | ||
|[[GetNthEntryQuest - Perk|Quest '''GetNthEntryQuest'''(Int ''n'')]] | |[[GetNthEntryQuest - Perk|Quest '''GetNthEntryQuest'''(Int ''n'')]] | ||
| | |Returns the ''Quest'' currently associated with this perk entry | ||
|- | |- | ||
|[[SetNthEntryQuest - Perk|Bool '''SetNthEntryQuest'''(Int ''n'', Quest ''newQuest'')]] | |[[SetNthEntryQuest - Perk|Bool '''SetNthEntryQuest'''(Int ''n'', Quest ''newQuest'')]] | ||
| | |Sets the ''Quest'' to be associated with this perk entry | ||
|- | |- | ||
|[[GetNthEntryStage - Perk|Int '''GetNthEntryStage'''(Int ''n'')]] | |[[GetNthEntryStage - Perk|Int '''GetNthEntryStage'''(Int ''n'')]] | ||
| | |Returns the Quest stage currently associated with this perk entry | ||
|- | |- | ||
|[[SetNthEntryStage - Perk|Bool '''SetNthEntryStage'''(Int ''n'', Int ''stage'')]] | |[[SetNthEntryStage - Perk|Bool '''SetNthEntryStage'''(Int ''n'', Int ''stage'')]] | ||
| | |Sets the Quest stage to be associated with this perk entry | ||
|- | |- | ||
|[[GetNthEntrySpell - Perk|Spell '''GetNthEntrySpell'''(Int ''n'')]] | |[[GetNthEntrySpell - Perk|Spell '''GetNthEntrySpell'''(Int ''n'')]] | ||
| | |Returns the ''Spell'' currently associated with this perk entry | ||
|- | |- | ||
|[[SetNthEntrySpell - Perk|Bool '''SetNthEntrySpell'''(Int ''n'', Spell ''newSpell'')]] | |[[SetNthEntrySpell - Perk|Bool '''SetNthEntrySpell'''(Int ''n'', Spell ''newSpell'')]] | ||
| | |Sets the ''Spell'' to be associated with this perk entry | ||
|- | |- | ||
|[[GetNthEntryLeveledList - Perk|LeveledItem '''GetNthEntryLeveledList'''(Int ''n'')]] | |[[GetNthEntryLeveledList - Perk|LeveledItem '''GetNthEntryLeveledList'''(Int ''n'')]] | ||
| | |Returns the ''LeveledItem'' list currently associated with this perk entry | ||
|- | |- | ||
|[[SetNthEntryLeveledList - Perk|Bool '''SetNthEntryLeveledList'''(Int ''n'', LeveledItem ''lList'')]] | |[[SetNthEntryLeveledList - Perk|Bool '''SetNthEntryLeveledList'''(Int ''n'', LeveledItem ''lList'')]] | ||
| | |Sets the ''LeveledItem'' list to be associated with this perk entry | ||
|- | |- | ||
|[[GetNthEntryText - Perk|String '''GetNthEntryText'''(Int ''n'')]] | |[[GetNthEntryText - Perk|String '''GetNthEntryText'''(Int ''n'')]] | ||
| | |Returns the ''String'' currently associated with this perk entry | ||
|- | |- | ||
|[[SetNthEntryText - Perk|Bool '''SetNthEntryText'''(Int ''n'', String ''newText'')]] | |[[SetNthEntryText - Perk|Bool '''SetNthEntryText'''(Int ''n'', String ''newText'')]] | ||
| | |Sets the ''String'' to be associated with this perk entry | ||
|- | |- | ||
|[[GetNthEntryValue - Perk|Float '''GetNthEntryValue'''(Int ''n'', Int ''i'')]] | |[[GetNthEntryValue - Perk|Float '''GetNthEntryValue'''(Int ''n'', Int ''i'')]] | ||
| | |Returns the value currently associated with this Perk Entry Point's ''Value'' data field. | ||
|- | |- | ||
|[[SetNthEntryValue - Perk|Bool '''SetNthEntryValue'''(Int ''n'', Int ''i'', Float ''value'')]] | |[[SetNthEntryValue - Perk|Bool '''SetNthEntryValue'''(Int ''n'', Int ''i'', Float ''value'')]] | ||
| | |Sets the value to be associated with this Perk Entry Point's ''Value'' data field. | ||
|- | |- | ||