[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
GetAttackDamage
Revision as of 16: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.