GetMaxRange - Weapon

From Creation Kit
Jump to: navigation, search

SKSE Member of: Weapon Script

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

Syntax

float Function GetMaxRange() native

Parameters

  • None

Return Value

The maximum range of this weapon.

Examples

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

See Also