GetCrosshairRef

From the Fallout3 GECK Wiki
Revision as of 15:46, 27 July 2010 by imported>Geckbot (Robot: Automated text replacement (-'''.*'''\r\n +))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns the reference under the crosshair - i.e., the reference that would be activated if the player pressed the Activate button. Will return non-activatable items (like tables and trees) as long as they are within activation distance. Otherwise returns zero.

Syntax

[help]
(ref) GetCrosshairRef