Editing
Perk Script
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
'''Extends:''' [[Form Script]] Script for the manipulation of [[perk]] instances. This Script has no 'vanilla' functions or events. == Definition == <syntaxhighlight lang="papyrus"> ScriptName Perk extends Form </syntaxhighlight> == Properties == None == Global Functions == None == Member Functions == None == SKSE Member Functions == :'''Perk [[GetNextPerk - Perk|GetNextPerk]]()''' :*Returns the next perk rank associated with the current perk. :'''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 == None [[Category:Scripting]] [[Category:Papyrus]] [[Category:Script Objects]] [[Category:SKSE]] [[Category:SKSE Script Objects]]
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Landing page
Tutorials
Game Systems
Editor Reference
Scripting Reference
Recent changes
Help
Tools
What links here
Related changes
Special pages
Page information
Page values