Last level

From EDukeWiki
Revision as of 06:25, 18 June 2014 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.