LeveledSpell Script

Extends: Form Script

Script for the manipulation of leveled spellbase objects.


DefinitionEdit

ScriptName LeveledSpell extends Form


PropertiesEdit

None


Global FunctionsEdit

None


Member FunctionsEdit

AddForm(Form apForm, Int auiLevel)
  • Adds the given form to the leveled list under the given level.
  • Revert()
  • Removes all script added forms from the leveled list.


SKSE Member FunctionsEdit

Int GetChanceNone()
  • Returns the Chance of Getting None for the Leveled List.
SetChanceNone(Int chance)
  • Sets the Chance of Getting None for the Leveled List.
Int GetNumForms()
  • Returns the number of Forms within the leveled list.
Form GetNthForm(Int n)
  • Returns the form at the specified index.
Int GetNthLevel(Int n)
  • Returns the List Level for the Form at the specified index
SetNthLevel(Int n, Int level)
  • Sets the list Level for the Form at the specified index to the specified amount.


EventsEdit

None