GetWeaponSpeed

From the Oblivion ConstructionSet Wiki
Revision as of 17:16, 9 September 2007 by imported>WereWolf (Fixed example)
Jump to navigation Jump to search

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