GetNthWordOfPower - Shout

Revision as of 07:20, 20 February 2016 by imported>Terra Nova2 (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Shout Script (Requires SKSE)

Gets the specified Nth Word of Power for this shout.

SyntexEdit

WordOfPower Function GetNthWordOfPower(Int n) native

ParametersEdit

  • 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 valueEdit

  • The Word Of Power associated with this shout.

ExamplesEdit

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 AlsoEdit