GetReticleRange

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the distance (in game units) between the player and the position pointed at by the reticle (crosshair). If the position is not a valid one, the function returns -1.

Syntax

[help]
(range:float) GetReticleRange

Example

set fReticleRange to GetReticleRange 

See Also