EVENT DISPLAYSBAR: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
New page: 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 appea...
 
m Remove false information.
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
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.
{{EventTable|1=EVENT_DISPLAYSBAR|2=[[screenpeek]]|3=[[i|player->i]]|4=1 value}}
 
EVENT_DISPLAYSBAR is a [[EDuke32_event_list|Game Event]]. This [[event]] is used to display the status bar.
 
[[RETURN]] is set to 0 by default. Setting [[RETURN]] to a non-zero value will prevent the status bar from being rendered.
 
If this event is used to draw tiles onscreen, the tiles will be rendered below the status bar. Use [[EVENT_DISPLAYREST]] if you want to draw the tiles on top of the statusbar instead.
 
[[Category:Events]]

Latest revision as of 08:12, 4 February 2022

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.

RETURN is set to 0 by default. Setting RETURN to a non-zero value will prevent the status bar from being rendered.

If this event is used to draw tiles onscreen, the tiles will be rendered below the status bar. Use EVENT_DISPLAYREST if you want to draw the tiles on top of the statusbar instead.