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