IsMace - Weapon

Revision as of 01:20, 12 May 2012 by imported>Fg109 (Created page for IsMace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: Weapon Script

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

SyntaxEdit

bool Function IsMace()

ParametersEdit

  • None

Return ValueEdit

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

ExamplesEdit

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

NotesEdit

See AlsoEdit