Background for Skyrim SE
Member of the Weapon script
voidfunctionSetMinRange(floatminRange)Native

Description

Wiki Description

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


Caveats


Parameters

floatminRange

CK Wiki Description

The new minimum range of this weapon.


Examples

; Double the minimum range of the player's right hand weapon
Weapon PlayerWeapon = Game.GetPlayer().GetEquippedWeapon()
PlayerWeapon.SetMinRange(PlayerWeapon.GetMinRange() * 2.0)

Auto-Generated Example

float myFloat__minRange

myWeapon__toCallFunctionOn.SetMinRange(myFloat__minRange)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.