GetNthWordOfPower - Shout

From the CreationKit Wiki
Revision as of 06:19, 20 February 2016 by imported>Terra Nova2 (Created page for GetNthWordOfPower)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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

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