EVENT ENDLEVELSCREEN: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Warning regarding the level and volume number
mNo edit summary
Line 1: Line 1:
EVENT_ENDLEVELSCREEN is a [[EDuke32 event list|Misc Event]].
EVENT_ENDLEVELSCREEN is a [[EDuke32 event list|Misc Event]].


Triggered when a level ends. Set RETURN to -1 to disable the bonus and deathmatch score screens after a level ends.
Triggered when a level ends. Set RETURN to a non-zero value to disable the bonus and deathmatch score screens after a level ends.


The values [[volume_number|ud.volume_number]] as well as [[level_number|ud.level_number]] will already be updated to the next map by the time this event occurs. This means that [[savemapstate]] will NOT work properly from inside this event!  
The values [[volume_number|ud.volume_number]] as well as [[level_number|ud.level_number]] will already be updated to the next map by the time this event occurs. This means that [[savemapstate]] will NOT work properly from inside this event!  


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

Revision as of 05:44, 3 August 2021

EVENT_ENDLEVELSCREEN is a Misc Event.

Triggered when a level ends. Set RETURN to a non-zero value to disable the bonus and deathmatch score screens after a level ends.

The values ud.volume_number as well as ud.level_number will already be updated to the next map by the time this event occurs. This means that savemapstate will NOT work properly from inside this event!