EVENT GETMENUTILE: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
EVENT_GETMENUTILE is [[ | EVENT_GETMENUTILE is [[EDuke32 event list|Game Event]]. | ||
This [[event]] is used to set a custom tile for the main menu background. | This [[event]] is used to set a custom tile for the main menu background. | ||
Line 5: | Line 5: | ||
EXAMPLE: | EXAMPLE: | ||
gamevar MENU_TILE <flag> 0 | gamevar [[MENU_TILE]] <flag> 0 | ||
onevent EVENT_GETMENUTILE | onevent EVENT_GETMENUTILE | ||
setvar [[RETURN]] <tilenum> | setvar [[RETURN]] <tilenum> | ||
endevent | endevent | ||
In the onevent code, set the gamevar RETURN to the tile you want the main menu background to be. | In the onevent code, set the gamevar RETURN to the tile you want the main menu background to be. | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 20:34, 12 August 2012
EVENT_GETMENUTILE is Game Event.
This event is used to set a custom tile for the main menu background.
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.