EVENT DISPLAYCROSSHAIR: Difference between revisions
Jump to navigation
Jump to search
Doom64hunter (talk | contribs) mNo edit summary |
Doom64hunter (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{EventTable|1=EVENT_DISPLAYCROSSHAIR|2=[[screenpeek]]|3=[[i|player->i]]|4=1 value}} | |||
'''EVENT_DISPLAYCROSSHAIR''' is a [[EDuke32 event list|Game Event]]. | '''EVENT_DISPLAYCROSSHAIR''' is a [[EDuke32 event list|Game Event]]. | ||
Revision as of 06:30, 30 January 2022
Event ID | player# | THISACTOR | RETURN | |
---|---|---|---|---|
EVENT_DISPLAYCROSSHAIR | screenpeek | player->i | 1 value |
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.