Difference between revisions of "GetWeaponSpeed"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(added exam)
imported>WereWolf
(Fixed example)
Line 8: Line 8:
  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.

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