EVENT GETMENUTILE: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Doom64hunter (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
EVENT_GETMENUTILE is [[EDuke32 event list| | EVENT_GETMENUTILE is [[EDuke32 event list|Menu Event]]. | ||
This [[event]] is used to set a custom tile for | This [[event]] is fired when drawing the main menu background, and can be used to set a custom tile for it. | ||
EXAMPLE: | EXAMPLE: |
Revision as of 08:19, 3 August 2021
EVENT_GETMENUTILE is Menu Event.
This event is fired when drawing the main menu background, and can be used to set a custom tile for it.
EXAMPLE:
gamevar MENU_TILE <flag> 0 onevent EVENT_GETMENUTILE setvar RETURN <tilenum> endevent
In the onevent code, set the gamevar RETURN to the tile you want the main menu background to be.