SetNthSpell - Shout

From the CreationKit Wiki
Revision as of 06:53, 20 February 2016 by imported>Terra Nova2 (Created page for SetNthSpell for the Shout script.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]

  • Int n: The corresponding value for the words of this shout.
  • 0 - The first word.
  • 1 - The second word.
  • 2 - The third word.
  • Spell aSpell: The spell to set the word of power to use.

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]