IsGreatsword - Weapon
Revision as of 00:19, 12 May 2012 by imported>Fg109 (Created page for IsGreatsword)
SKSE Member of: Weapon Script
Returns whether this weapon has the "WeapTypeGreatsword" keyword. (This function requires SKSE)
Syntax[edit | edit source]
bool Function IsGreatsword()
Parameters[edit | edit source]
- None
Return Value[edit | edit source]
True if the weapon has the "WeapTypeGreatsword" keyword. False otherwise.
Examples[edit | edit source]
if (Game.GetPlayer().GetEquippedWeapon().IsGreatsword()
Debug.Trace("Player is equipped with a greatsword.")
endif
Notes[edit | edit source]
- Uses the HasKeywordString function internally.