Last level: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Daedolon (talk | contribs)
Created page with "This userdef member holds the current level of the player through EVENT_ENTERLEVEL{{Verification needed}} to EVENT_DISPLAYBONUSSCREEN. Unlike LEVEL, which changes..."
 
(No difference)

Latest revision as of 07:25, 18 June 2014

This userdef member holds the current level of the player through EVENT_ENTERLEVEL[verification needed] to EVENT_DISPLAYBONUSSCREEN. Unlike LEVEL, which changes to the next number during EVENT_DISPLAYBONUSSCREEN, this can be used as a reliable way of checking against the level number.

Last_level starts from 1, so to get a value comparable to LEVEL, please subtract one from it.