GetWeaponType - Weapon
Revision as of 08:41, 31 January 2014 by imported>Egocarib (removed note to avoid confusion.)
SKSE Member of: Weapon Script
Returns the weapon type of this weapon. (This function requires SKSE)
SyntaxEdit
int Function GetWeaponType() native
ParametersEdit
- None
Return ValueEdit
The weapon type of this weapon.
0=Fists
1=Swords
2=Daggers
3=War Axes
4=Maces
5=Greatswords
6=Battleaxes AND Warhammers
7=Bows
8=Staff
9=Crossbows
ExamplesEdit
; Obtain the weapon type of WeaponProperty
Int WeaponType = WeaponProperty.GetWeaponType()
If WeaponType == 3
;WeaponProperty is a war axe!
EndIf