SetSpeed - Weapon

SKSE Member of: Weapon Script

Changes the speed of this weapon. (This function requires SKSE)

SyntaxEdit

Function SetSpeed(float speed) native

ParametersEdit

  • speed: The new speed of this weapon.

Return ValueEdit

None.

ExamplesEdit

; Double the speed of the player's right hand weapon
Weapon PlayerWeapon = Game.GetPlayer().GetEquippedWeapon()
PlayerWeapon.SetSpeed(PlayerWeapon.GetSpeed() * 2.0)

See AlsoEdit