EVENT GETLOADTILE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 6: Line 6:
   
   
  onevent EVENT_GETLOADTILE
  onevent EVENT_GETLOADTILE
   setvar RETURN <tilenum>
   setvar [[RETURN]] <tilenum>
  endevent
  endevent



Revision as of 10:45, 24 July 2006

EVENT_GETLOADTILE is used to set a custom tile for the loading screen.

EXAMPLE:

gamevar LOAD_TILE <flag> GAMEVAR_FLAG_GLOBAL

onevent EVENT_GETLOADTILE
 setvar RETURN <tilenum>
endevent

gamevar LOAD_TILE is used to set whether the screen is one picture or if it is tiled, like a texture.

Values for <flag>:

  • 0 - Loading Screen is non-tilable
  • 1 - Loading Screen is tilable

In the onevent code, set the gamevar RETURN to the tile you want the loading screen to be.