EVENT MENUCURSORRIGHT: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{{EventTable|1=EVENT_MENUCURSORRIGHT|2=Current Player|3=none|4=yes (1 value)}}
{{EventTable|1=EVENT_MENUCURSORRIGHT|2=[[myconnectindex]]|3=-1|4=1 value}}


EVENT_MENUCURSORRIGHT is a [[EDuke32 event list|menu event]].
EVENT_MENUCURSORRIGHT is a [[EDuke32 event list|menu event]].
Line 5: Line 5:
This [[event]] is called when the right-hand menu cursor is being drawn.
This [[event]] is called when the right-hand menu cursor is being drawn.


The [[return_(userdef)| RETURN]] variable will be set to the current tile index of the spinning nuke icon. Modify this value to change the tile that is being displayed for the right cursor during that frame.  
The [[return_(userdef)| RETURN]] variable will be set to the current tile index of the spinning nuke icon (tile indices 2813-2819). Note that for the right cursor, it starts at 2813 and advances backwards by one tile each animation frame, thus spinning in the opposite direction.
 
Modify this value to change the tile that is being displayed for the right cursor during that frame.  


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

Latest revision as of 08:29, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_MENUCURSORRIGHT myconnectindex -1 1 value

EVENT_MENUCURSORRIGHT is a menu event.

This event is called when the right-hand menu cursor is being drawn.

The RETURN variable will be set to the current tile index of the spinning nuke icon (tile indices 2813-2819). Note that for the right cursor, it starts at 2813 and advances backwards by one tile each animation frame, thus spinning in the opposite direction.

Modify this value to change the tile that is being displayed for the right cursor during that frame.