EVENT GETLOADTILE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{EventTable|1=EVENT_GETLOADTILE|2=[[screenpeek]]|3=[[i|player->i]]|4=1 value}}
EVENT_GETLOADTILE is a [[EDuke32_event_list|Game Event]].
EVENT_GETLOADTILE is a [[EDuke32_event_list|Game Event]].


Line 6: Line 8:


  onevent EVENT_GETLOADTILE
  onevent EVENT_GETLOADTILE
  setvar [[RETURN]] <tilenum>
    setvar [[RETURN]] <tilenum>
  endevent
  endevent


In the onevent code, set the gamevar RETURN to the tile you want the loading screen to be.  Adding 16384 to the tile number will disable the "LOADING" text.
In the onevent code, set the gamevar RETURN to the tile you want the loading screen to be.


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

Latest revision as of 07:45, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_GETLOADTILE screenpeek player->i 1 value

EVENT_GETLOADTILE is a Game Event.

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

EXAMPLE:

onevent EVENT_GETLOADTILE
    setvar RETURN <tilenum>
endevent

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