LeveledSpell Script: Difference between revisions
Jump to navigation
Jump to search
imported>CraftySentinel (Added SKSE 1.7.0 functions) |
m (Convert source tags to syntaxhighlight) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 5: | Line 5: | ||
== Definition == | == Definition == | ||
< | <syntaxhighlight lang="papyrus"> | ||
ScriptName LeveledSpell extends Form | ScriptName LeveledSpell extends Form | ||
</ | </syntaxhighlight> | ||
| Line 23: | Line 23: | ||
:*Adds the given form to the leveled list under the given level. | :*Adds the given form to the leveled list under the given level. | ||
: | :'''[[Revert - LeveledSpell|Revert]]()''' | ||
:*Removes all script added forms from the leveled list. | :*Removes all script added forms from the leveled list. | ||
== SKSE Member Functions == | == SKSE Member Functions == | ||
Latest revision as of 20:08, 5 September 2026
Extends: Form Script
Script for the manipulation of leveled spellbase objects.
Definition[edit | edit source]
ScriptName LeveledSpell extends Form
Properties[edit | edit source]
None
Global Functions[edit | edit source]
None
Member Functions[edit | edit source]
- 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 Functions[edit | edit source]
- 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.
Events[edit | edit source]
None