Perk Script

Extends: Form Script

Script for the manipulation of perk instances. This Script has no 'vanilla' functions or events.

DefinitionEdit

ScriptName Perk extends Form

PropertiesEdit

None

Global FunctionsEdit

None

Member FunctionsEdit

None

SKSE Member FunctionsEdit

Perk GetNextPerk()
  • Returns the next perk rank associated with the current perk.
Int GetNumEntries()
  • Returns the number of entries in this Perk's Perk Entries list
Int GetNthEntryRank(Int n)
  • Returns the rank of the entry at index n
Bool SetNthEntryRank(Int n, Int rank)
  • Sets the rank of the entry at index n
Int GetNthEntryPriority(Int n)
  • Returns the priority of the entry at index n
Bool SetNthEntryPriority(Int n, Int priority)
  • Sets the priority of the entry at index n
Quest GetNthEntryQuest(Int n)
  • Returns the Quest currently associated with this perk entry
Bool SetNthEntryQuest(Int n, Quest newQuest)
  • Sets the Quest to be associated with this perk entry
Int GetNthEntryStage(Int n)
  • Returns the Quest stage currently associated with this perk entry
Bool SetNthEntryStage(Int n, Int stage)
  • Sets the Quest stage to be associated with this perk entry
Spell GetNthEntrySpell(Int n)
  • Returns the Spell currently associated with this perk entry
Bool SetNthEntrySpell(Int n, Spell newSpell)
  • Sets the Spell to be associated with this perk entry
LeveledItem GetNthEntryLeveledList(Int n)
  • Returns the LeveledItem list currently associated with this perk entry
Bool SetNthEntryLeveledList(Int n, LeveledItem lList)
  • Sets the LeveledItem list to be associated with this perk entry
String GetNthEntryText(Int n)
  • Returns the String currently associated with this perk entry
Bool SetNthEntryText(Int n, String newText)
  • Sets the String to be associated with this perk entry
Float GetNthEntryValue(Int n, Int i)
  • Returns the value currently associated with this Perk Entry Point's Value data field.
Bool SetNthEntryValue(Int n, Int i, Float value)
  • Sets the value to be associated with this Perk Entry Point's Value data field.

EventsEdit

None