Difference between revisions of "GetWeaponSpeed"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(added exam)
imported>WereWolf
 
(One intermediate revision 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:'''
(speed:float) ''reference.''GetWeaponSpeed ''objectID:ref''
'''Example:'''
'''Example:'''
  ref weapon
  ref weapon
  float weaponspeed
  float weaponspeed
  set weapon to player.GetEquippedObject 16
  set weapon to player.[[GetEquippedObject]] 16
  set weaponspeed to getweaponspeed weapon
  set weaponspeed to getweaponspeed weapon
Gets player's equipped weapon speed.
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]