Difference between revisions of "GetNthWordOfPower - Shout"
Jump to navigation
Jump to search
imported>Terra Nova2 (Created page for GetNthWordOfPower) |
imported>Terra Nova2 m (→Examples) |
||
Line 21: | Line 21: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Shout property UnrelentingForceShout auto | |||
WordOfPower property WordFus auto | WordOfPower property WordFus auto | ||
Latest revision as of 06:20, 20 February 2016
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