GetNthWordOfPower - Shout

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Shout Script (Requires SKSE)

Gets the specified Nth Word of Power for this shout.

Syntex[edit | edit source]

WordOfPower Function GetNthWordOfPower(Int n) native

Parameters[edit | edit source]

  • Int n: The Word of Power associated with this Shout.
  • 0 - The first Word for this shout.
  • 1 - The second Word for this shout.
  • 2 - The third Word for this shout.

Return value[edit | edit source]

  • The Word Of Power associated with this shout.

Examples[edit | edit source]

Shout property UnrelentingForceShout auto
WordOfPower property WordFus auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
	if WordFus == UnrelentingForceShout.GetNthWordOfPower(0)
		debug.notification("First word of this shout is Fus")
	else
		debug.notification("Try again.")
	endif
	
EndEvent

See Also[edit | edit source]