EVENT DISPLAYCROSSHAIR: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
BlasterDRP (talk | contribs)
mNo edit summary
 
Fox (talk | contribs)
No edit summary
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
EVENT_DISPLAYCROSSHAIR is a [http://www.eduke32.com/wiki/index.php?title=EDuke32_event_list Game Event].
'''EVENT_DISPLAYCROSSHAIR''' is a [[EDuke32 event list|Game Event]].


This [[event]] is called when the player crosshair is being displayed.
This [[event]] is called when the player crosshair is being displayed.
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]].
[[Category:Events]]

Revision as of 06:03, 20 February 2020

EVENT_DISPLAYCROSSHAIR is a Game Event.

This event is called when the player crosshair is being displayed.

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.