GetNthSpell - Shout

Member of: Shout Script (Requires SKSE)

Gets the specified Nth spell of this shout.

SyntexEdit

Spell Function GetNthSpell(Int n) native

ParametersEdit

  • n: The Nth spell associated with this Shout
    • 0 is the first spell for this shout, 1 is the second spell for this shout, 2 is the third spell for this shout

Return valueEdit

  • The spell associated with this shout.

ExamplesEdit

Spell property VoiceUnrelentingForce1 auto

; Obtain the spell used by this shout.
Event OnEffectStart(Actor akTarget, Actor akCaster)
	if VoiceUnrelentingForce1 == UnrelentingForceShout.GetNthSpell(0)
		debug.notification("First spell of this shout is VoiceUnrelentingForce1")
	else
		debug.notification("Try again.")
	endif
	
EndEvent
; The above example is true.

See AlsoEdit