Difference between revisions of "GetWeaponSpeed"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(Added see also links)
imported>WereWolf
(added exam)
Line 4: Line 4:


'''Syntax:'''
'''Syntax:'''
(speed:float) ''reference.''GetWeaponSpeed ''objectID:ref''
'''Example:'''
ref weapon
float weaponspeed
set weapon to player.GetEquippedObject 16
set weaponspeed to getweaponspeed weapon
Gets player's equipped weapon speed.


(speed:float) ''reference.''GetWeaponSpeed ''objectID:ref''


==See Also==
==See Also==

Revision as of 17:16, 9 September 2007

A command for Oblivion Script Extender

Returns the weapon speed.

Syntax:

(speed:float) reference.GetWeaponSpeed objectID:ref

Example:

ref weapon
float weaponspeed
set weapon to player.GetEquippedObject 16
set weaponspeed to getweaponspeed weapon

Gets player's equipped weapon speed.


See Also