EVENT DISPLAYCROSSHAIR

From EDukeWiki
Revision as of 06:33, 27 November 2021 by Doom64hunter (talk | contribs)
Jump to navigation Jump to search

EVENT_DISPLAYCROSSHAIR is a Game Event.

This event is called when the player crosshair is being displayed. If it is disabled, the event will not execute.

Gamevar RETURN is set to the crosshair's picnum. Modifying this value will allow the game to handle positioning duties itself, etc. Setting RETURN to -1 disables hardcoded drawing of the crosshair completely.

See also EVENT_DISPLAYPOINTER.