GetNthWordOfPower - Shout

From Creation Kit
Jump to: navigation, search

Member of: Shout Script (Requires SKSE)

Gets the specified Nth Word of Power for this shout.

Syntex

WordOfPower Function GetNthWordOfPower(Int n) native

Parameters

  • 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

  • The Word Of Power associated with this shout.

Examples

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