Morrowind Mod:GetWeaponType
< Mod / Morrowind: Morrowind Mod: Alphabetical Functions / Categorical FunctionsGetWeaponType
GetWeaponType Type: Object, Tribunal Returns: short (-1 to 13) Unarmed -1 Short blade, 1-Hand 0 Lockpick or Probe 0 Long blade, 1-Hand 1 Long blade, 2-Hand 2 Blunt, 1-Hand 3 Blunt, 2-Hand Close 4 Blunt, 2-Hand Wide 5 Spear, 2-Hand Wide 6 Axe, 1-Hand 7 Axe, 2-Hand Close 8 Bow 9 Crossbow 10 Thrown Weapon 11 Arrow 12 Bolt 13 Example: if ( GetWeaponType == 1 ) if ( "addarnat assardidairan"->GetWeaponType == -1 ) if ( player->GetWeaponType == 10 ) Scripts: Not Used
Returns the weapon type of the actor's current weapon.
See Also: GetArmorType