IsWarhammer - Weapon

SKSE Member of: Weapon Script

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

SyntaxEdit

bool Function IsWarhammer()

ParametersEdit

  • None

Return ValueEdit

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

ExamplesEdit

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

NotesEdit

See AlsoEdit