GetCrosshairRefEx

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the object reference under the crosshair. Unlike the NVSE GetCrosshairRef, this function is not limited to objects within activation range.

Syntax

[help]
(crosshairRef:ref) GetCrosshairRefEx

Example

set rCrosshairRef to GetCrosshairRefEx 

Notes

  • If the crosshair ref is Cell Water, this function returns an invalid reference.

See also