IsWarhammer - Weapon

From Creation Kit
Jump to: navigation, search

SKSE Member of: Weapon Script

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

Syntax

bool Function IsWarhammer()

Parameters

  • None

Return Value

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

Examples

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

Notes

See Also