GetReticlePosAlt

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Retrieves the XYZ coordinates of the position the reticle (crosshair) is pointing at, and outputs the results into the 3 specified Script Variables.

  • If the position is a valid one, the function returns 1, otherwise 0.

Syntax

[help]
(validPos:0/1) GetReticlePosAlt resPosX:ScriptVar resPosY:ScriptVar resPosZ:ScriptVar

Example

GetReticlePosAlt fPosX fPosY fPosZ 

See Also