Difference between revisions of "GetWeaponSpeed"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(Added see also links)
imported>WereWolf
 
(2 intermediate revisions by the same 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]]
'''Syntax:'''
(speed:float) ''reference.''GetWeaponSpeed ''objectID:ref''


Returns the weapon speed.
Returns the weapon speed.


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


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

Latest revision as of 13:14, 14 September 2007

A command for Oblivion Script Extender

Syntax:

(speed:float) reference.GetWeaponSpeed objectID:ref

Returns the weapon speed.

Example:

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

Gets player's equipped weapon speed.

See Also[edit | edit source]