EVENT DISPLAYPOINTER: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
Created page with "'''EVENT_DISPLAYPOINTER''' is a Game Event. This event is called when the Wii port cursor for aiming is being displayed. Gamevar [..."
 
mNo edit summary
Line 1: Line 1:
{{EventTable|1=EVENT_DISPLAYPOINTER|2=[[screenpeek]]|3=[[i|player->i]]|4=1 value}}
'''EVENT_DISPLAYPOINTER''' is a [[EDuke32 event list|Game Event]].
'''EVENT_DISPLAYPOINTER''' is a [[EDuke32 event list|Game Event]].


This [[event]] is called when the [[EDuke32 Wii|Wii]] port cursor for aiming is being displayed.
This [[event]] is called when the [[EDuke32 Wii|Wii]] port cursor for aiming is being displayed.


Gamevar [[RETURN]] is set to the cursor's [[picnum]]. Modifying this value will allow the game to handle positioning duties itself, etc. Setting RETURN to -1 disables hardcoded drawing of the cursor completely.
Gamevar [[RETURN]] is set to the cursor's [[picnum]]. Modifying this value will change the tile that is displayed.  
 
Setting RETURN to -1 disables hardcoded drawing of the cursor completely.


See also [[EVENT_DISPLAYCROSSHAIR]].
See also [[EVENT_DISPLAYCROSSHAIR]].


[[Category:Events]]
[[Category:Events]]

Revision as of 07:37, 30 January 2022

Event ID player# THISACTOR RETURN
EVENT_DISPLAYPOINTER screenpeek player->i 1 value

EVENT_DISPLAYPOINTER is a Game Event.

This event is called when the Wii port cursor for aiming is being displayed.

Gamevar RETURN is set to the cursor's picnum. Modifying this value will change the tile that is displayed.

Setting RETURN to -1 disables hardcoded drawing of the cursor completely.

See also EVENT_DISPLAYCROSSHAIR.