GetWeaponType
Revision as of 03:41, 15 September 2007 by imported>WereWolf (New page: A command for Oblivion Script Extender '''Syntax:''' (weaponType:short) reference.GetWeaponType objectID:ref Retuns the weapon type. '''Weapon T...)
A command for Oblivion Script Extender
Syntax:
(weaponType:short) reference.GetWeaponType objectID:ref
Retuns the weapon type.
Weapon Type: 0: Blade1H 1: Blade2H 2: Blunt1H 3: Blunt2H 4: Staff 5: Bow
Example:
ref weapon short weapontype set weapon to player.GetEquippedObject 16 set weapontype to GetWeaponType weapon
Gets player's equipped weapon type