EVENT ENDLEVELSCREEN: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Warning regarding the level and volume number
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{EventTable|EVENT_ENDLEVELSCREEN|[[myconnectindex]]|[[i|player->i]]|1 value}}
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]]

Latest revision as of 06:32, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_ENDLEVELSCREEN myconnectindex player->i 1 value

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!