Difference between revisions of "GetReticleHitLocation"

From Nomad DB
(Created page with "Retrieves the position of the reticle in world space. This only works when the reticle is on the screen. == Syntax == <pre> GetReticleHitLocation() </pre> * '''Returns''' (ta...")
 
Line 1: Line 1:
Retrieves the position of the reticle in world space. This only works when the reticle is on the screen.
+
Retrieves the position where the player is currently aiming at. This returns 0, 0, 0 when the player is looking in the air.
  
 
== Syntax ==
 
== Syntax ==

Revision as of 20:20, 16 April 2020

Retrieves the position where the player is currently aiming at. This returns 0, 0, 0 when the player is looking in the air.

Syntax

GetReticleHitLocation()
  • Returns (table): Position of the reticle in world space

Related Pages