GetAttackDamage

Revision as of 13:19, 14 April 2008 by imported>Speedo (Incorrect syntax in example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A command for Oblivion Script Extender

Syntax:

(damage:long) reference.GetAttackDamage objectID:ref

Returns the base attack damage.

Example:

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

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

See AlsoEdit