GetAttackDamage

Revision as of 15:21, 9 September 2007 by imported>WereWolf

A command for Oblivion Script Extender

Returns the base attack damage.

Syntax:

(damage:long) reference.GetAttackDamage objectID:ref

Example:

ref Weapon
float WeaponDamage
set Weapon to player.GetEquippedObject 16
set WeaponDamage to Weapon.GetAttackDamage

Gets the attack damage value of the player's equipped weapon and store in WeaponDamage variable.

See Also