Difference between revisions of "GetAttackDamage"

237 bytes added ,  13:19, 14 April 2008
Incorrect syntax in example
imported>Haama
m (Empty Example?)
imported>Speedo
(Incorrect syntax in example)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]


GetAttackDamage - returns the base attack damage.
'''Syntax:'''
(damage:long) ''reference.''GetAttackDamage ''objectID:ref''


        (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 Also==
==See Also==
Anonymous user