EVENT DISPLAYOVERHEADMAPTEXT: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 3: Line 3:
EVENT_DISPLAYOVERHEADMAPTEXT is a [[EDuke32_event_list|Game Event]].
EVENT_DISPLAYOVERHEADMAPTEXT is a [[EDuke32_event_list|Game Event]].


Set RETURN to any non-zero value to disable hardcoded display of text.
This event is executed whenever the automap is displayed (when [[overhead_on]] > 0).


If you wish to replace the hardcoded text, you must check that userdef[].overhead_on == 2 yourself.
[[RETURN]] is set to 0 by default. Set RETURN to any non-zero value to disable the level and episode name display.


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

Latest revision as of 08:04, 4 February 2022

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

EVENT_DISPLAYOVERHEADMAPTEXT is a Game Event.

This event is executed whenever the automap is displayed (when overhead_on > 0).

RETURN is set to 0 by default. Set RETURN to any non-zero value to disable the level and episode name display.