GetMaxRange - Weapon

Revision as of 10:36, 11 May 2012 by imported>Fg109 (Created page for GetMaxRange)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: Weapon Script

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

SyntaxEdit

float Function GetMaxRange() native

ParametersEdit

  • None

Return ValueEdit

The maximum range of this weapon.

ExamplesEdit

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

See AlsoEdit