Difference between revisions of "GetAttackDamage"

266 bytes added ,  13:19, 14 April 2008
Incorrect syntax in example
imported>WereWolf
m
imported>Speedo
(Incorrect syntax in example)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
GetAttackDamage - returns the base attack damage.
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]


        (damage:long) reference.GetAttackDamage objectID:ref
'''Syntax:'''
(damage:long) ''reference.''GetAttackDamage ''objectID:ref''


==Example==
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==
Line 10: Line 17:
*[[ModAttackDamage]]
*[[ModAttackDamage]]


A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
[[Category:Functions]]
 
[[Category:Functions (OBSE)]]
[[Category: Functions]]
[[Category:Inventory Functions]]
[[Category: Functions (OBSE)]]
[[Category:Inventory Functions (OBSE)]]
[[Category:OBSE_Functions]]
Anonymous user