IsBattleAxe - Weapon

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Weapon Script

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

Syntax[edit | edit source]

bool Function IsBattleaxe()

Parameters[edit | edit source]

  • None

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

Notes[edit | edit source]

See Also[edit | edit source]