SetNthSpell - Shout

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Shout Script (Requires SKSE)

Sets the specified Nth spell of this shout.

Syntex[edit | edit source]

Function SetNthSpell(Int n, Spell aSpell) native

Parameters[edit | edit source]

  • n: Index of the Word of Power to set the spell for
    • 0 - Set the first word's spell.
    • 1 - Set the second word's spell.
    • 2 - Set the third word's spell.
  • aSpell: The spell to set for the specified word of power.

Return value[edit | edit source]

  • None

Examples[edit | edit source]

Shout property UnrelentingForceShout auto
Spell property VoiceUnrelentingForce1 auto

; Set the spell used by a word in this shout.
; Lets just assume WordFus has no spell attached.
UnrelentingForceShout.SetNthSpell(0, VoiceUnrelentingForce1)

See Also[edit | edit source]