EVENT DISPLAYSBAR

From EDukeWiki
Revision as of 06:38, 30 January 2022 by Doom64hunter (talk | contribs)
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_DISPLAYSBAR screenpeek player->i 1 value

EVENT_DISPLAYSBAR is a Game Event.

This event is used to display the status bar. Setting RETURN to a non-zero value will prevent the status bar from being rendered.

The area where the big status bar would normally appear remains, however, and will contain visual glitches. To properly get rid of it, set screen_size to a desired value less than 8, or you can edit the pixel height of art tile #2462 (BOTTOMSTATUSBAR).

This event is different of EVENT_DISPLAYREST in using rotatesprite command as it draw tiles under the normal status bar, if being displayed.