- Found in:
- SKSE
Description
Wiki Description
Changes the maximum range of this weapon. (This function requires SKSE)
Caveats
Parameters
floatmaxRange
CK Wiki Description
The new maximum range of this weapon.
Examples
; Double the maximum range of the player's right hand weapon
Weapon PlayerWeapon = Game.GetPlayer().GetEquippedWeapon()
PlayerWeapon.SetMaxRange(PlayerWeapon.GetMaxRange() * 2.0)Auto-Generated Example
float myFloat__maxRange
myWeapon__toCallFunctionOn.SetMaxRange(myFloat__maxRange)