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

Description

Wiki Description

Returns the maximum range of this weapon. (This function requires SKSE)


Caveats


Examples

; Obtain the maximum range of the player's currently equipped right-hand weapon
Float MaxRange = Game.GetPlayer().GetEquippedWeapon().GetMaxRange()

Auto-Generated Example

float returnedValue = myWeapon__toCallFunctionOn.GetMaxRange()

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.