IsGreatsword - Weapon

SKSE Member of: Weapon Script

Returns whether this weapon has the "WeapTypeGreatsword" keyword. (This function requires SKSE)

SyntaxEdit

bool Function IsGreatsword()

ParametersEdit

  • None

Return ValueEdit

True if the weapon has the "WeapTypeGreatsword" keyword. False otherwise.

ExamplesEdit

if (Game.GetPlayer().GetEquippedWeapon().IsGreatsword()
	Debug.Trace("Player is equipped with a greatsword.")
endif

NotesEdit

See AlsoEdit