EVENT GETMENUTILE: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
EXAMPLE: | EXAMPLE: | ||
gamevar MENU_TILE <flag> | gamevar MENU_TILE <flag> 0 | ||
onevent EVENT_GETMENUTILE | onevent EVENT_GETMENUTILE |
Revision as of 18:14, 14 February 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
gamevar MENU_TILE is used to set whether the screen is one picture or if it is tiled, like a texture.
Values for <flag>:
- 0 - Main Menu background is non-tilable
- 1 - Main Menu background is tilable
In the onevent code, set the gamevar RETURN to the tile you want the main menu background to be.