IsBattleAxe - Weapon
Revision as of 00:16, 12 May 2012 by imported>Fg109 (Created page for IsBattleaxe)
SKSE Member of: Weapon Script
Returns whether this weapon has the "WeapTypeBattleaxe" keyword. (This function requires SKSE)
SyntaxEdit
bool Function IsBattleaxe()
ParametersEdit
- None
Return ValueEdit
True if the weapon has the "WeapTypeBattleaxe" keyword. False otherwise.
ExamplesEdit
if (Game.GetPlayer().GetEquippedWeapon().IsBattleaxe()
Debug.Trace("Player is equipped with a battleaxe.")
endif
NotesEdit
- Uses the HasKeywordString function internally.