EVENT GETLOADTILE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{{EventTable|1=EVENT_GETLOADTILE|2=Current Player|3=[[i|player->i]]|4=yes (1 value)}}
{{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 8: Line 8:


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



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.