Perk Script: Difference between revisions

Jump to navigation Jump to search
145 bytes removed ,  2 February 2014
m
Reverted to List
imported>Egocarib
(added descriptions for all SKSE Member Functions)
imported>CraftySentinel
m (Reverted to List)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:SKSE]]
[[Category:SKSE Script Objects]]
'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]


Line 25: Line 19:
== SKSE Member Functions ==
== SKSE Member Functions ==


{|class="wikitable" width =100%
:'''Int [[GetNumEntries - Perk|GetNumEntries]]()'''
!style="text-align:left;"|Function
:*Returns the number of entries in this Perk's ''Perk Entries'' list
!style="text-align:left;"|Description
|-
|[[GetNumEntries - Perk|Int '''GetNumEntries'''()]]
|Returns the number of entries in this Perk's ''Perk Entries'' list
|-


|[[GetNthEntryRank - Perk|Int '''GetNthEntryRank'''(Int ''n'')]]
:'''Int [[GetNthEntryRank - Perk|GetNthEntryRank]](Int ''n'')'''
|Returns the rank of the entry at index '''n'''
:*Returns the rank of the entry at index '''n'''
|-


|[[SetNthEntryRank - Perk|Bool '''SetNthEntryRank'''(Int ''n'', Int ''rank'')]]
:'''Bool [[SetNthEntryRank - Perk|SetNthEntryRank]](Int ''n'', Int ''rank'')'''
|Sets the rank of the entry at index '''n'''
:*Sets the rank of the entry at index '''n'''
|-


|[[GetNthEntryPriority - Perk|Int '''GetNthEntryPriority'''(Int ''n'')]]
:'''Int [[GetNthEntryPriority - Perk|GetNthEntryPriority]](Int ''n'')'''
|Returns the priority of the entry at index '''n'''
:*Returns the priority of the entry at index '''n'''
|-


|[[SetNthEntryPriority - Perk|Bool '''SetNthEntryPriority'''(Int ''n'', Int ''priority'')]]
:'''Bool [[SetNthEntryPriority - Perk|SetNthEntryPriority]](Int ''n'', Int ''priority'')'''
|Sets the priority of the entry at index '''n'''
:*Sets the priority of the entry at index '''n'''
|-


|[[GetNthEntryQuest - Perk|Quest '''GetNthEntryQuest'''(Int ''n'')]]
:'''Quest [[GetNthEntryQuest - Perk|GetNthEntryQuest]](Int ''n'')'''
|Returns the ''Quest'' currently associated with this perk entry
:*Returns the ''Quest'' currently associated with this perk entry
|-


|[[SetNthEntryQuest - Perk|Bool '''SetNthEntryQuest'''(Int ''n'', Quest ''newQuest'')]]
:'''Bool [[SetNthEntryQuest - Perk|SetNthEntryQuest]](Int ''n'', Quest ''newQuest'')'''
|Sets the ''Quest'' to be associated with this perk entry
:*Sets the ''Quest'' to be associated with this perk entry
|-


|[[GetNthEntryStage - Perk|Int '''GetNthEntryStage'''(Int ''n'')]]
:'''Int [[GetNthEntryStage - Perk|GetNthEntryStage]](Int ''n'')'''
|Returns the Quest stage currently associated with this perk entry
:*Returns the Quest stage currently associated with this perk entry
|-


|[[SetNthEntryStage - Perk|Bool '''SetNthEntryStage'''(Int ''n'', Int ''stage'')]]
:'''Bool [[SetNthEntryStage - Perk|SetNthEntryStage]](Int ''n'', Int ''stage'')'''
|Sets the Quest stage to be associated with this perk entry
:*Sets the Quest stage to be associated with this perk entry
|-


|[[GetNthEntrySpell - Perk|Spell '''GetNthEntrySpell'''(Int ''n'')]]
:'''Spell [[GetNthEntrySpell - Perk|GetNthEntrySpell]](Int ''n'')'''
|Returns the ''Spell'' currently associated with this perk entry
:*Returns the ''Spell'' currently associated with this perk entry
|-


|[[SetNthEntrySpell - Perk|Bool '''SetNthEntrySpell'''(Int ''n'', Spell ''newSpell'')]]
:'''Bool [[SetNthEntrySpell - Perk|SetNthEntrySpell]](Int ''n'', Spell ''newSpell'')'''
|Sets the ''Spell'' to be associated with this perk entry
:*Sets the ''Spell'' to be associated with this perk entry
|-


|[[GetNthEntryLeveledList - Perk|LeveledItem '''GetNthEntryLeveledList'''(Int ''n'')]]
:'''LeveledItem[[GetNthEntryLeveledList - Perk|GetNthEntryLeveledList]](Int ''n'')'''
|Returns the ''LeveledItem'' list currently associated with this perk entry
:*Returns the ''LeveledItem'' list currently associated with this perk entry
|-


|[[SetNthEntryLeveledList - Perk|Bool '''SetNthEntryLeveledList'''(Int ''n'', LeveledItem ''lList'')]]
:'''Bool [[SetNthEntryLeveledList - Perk|SetNthEntryLeveledList]](Int ''n'', LeveledItem ''lList'')'''
|Sets the ''LeveledItem'' list to be associated with this perk entry
:*Sets the ''LeveledItem'' list to be associated with this perk entry
|-


|[[GetNthEntryText - Perk|String '''GetNthEntryText'''(Int ''n'')]]
:'''String [[GetNthEntryText - Perk|GetNthEntryText]](Int ''n'')'''
|Returns the ''String'' currently associated with this perk entry
:*Returns the ''String'' currently associated with this perk entry
|-


|[[SetNthEntryText - Perk|Bool '''SetNthEntryText'''(Int ''n'', String ''newText'')]]
:'''Bool [[SetNthEntryText - Perk|SetNthEntryText]](Int ''n'', String ''newText'')'''
|Sets the ''String'' to be associated with this perk entry
:*Sets the ''String'' to be associated with this perk entry
|-


|[[GetNthEntryValue - Perk|Float '''GetNthEntryValue'''(Int ''n'', Int ''i'')]]
:'''Float [[GetNthEntryValue - Perk|GetNthEntryValue]](Int ''n'', Int ''i'')'''
|Returns the value currently associated with this Perk Entry Point's ''Value'' data field.
:*Returns the value currently associated with this Perk Entry Point's ''Value'' data field.
|-


|[[SetNthEntryValue - Perk|Bool '''SetNthEntryValue'''(Int ''n'', Int ''i'', Float ''value'')]]
:'''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.
:*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]]

Navigation menu