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