Background for Skyrim SE
Member of the Weapon script
intfunctionGetWeaponType()Native

Description

Wiki Description

Returns the weapon type of this weapon. (This function requires SKSE)


Caveats


Examples

; Obtain the weapon type of WeaponProperty
Int WeaponType = WeaponProperty.GetWeaponType()
If WeaponType == 3
   ;WeaponProperty is a war axe!
EndIf

Auto-Generated Example

int returnedValue = myWeapon__toCallFunctionOn.GetWeaponType()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.