M level number: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Holds next level number after calculate it (when you press a Nukebutton, go to a sector with lotag 65535, etc). If you are going to bypass score screen with startlevel, getting this value for next level is usefull.
'''''m_level_number''''' holds the next level number to go to after the current [[level_number|level]] is completed (via a nuke button, [[lotag]] 65534 or 65535 sectors, et cetera…). If you are going to use the [[startlevel]] command instead of hard-coded level switching behavior, using this is useful, although you could also simply add 1 to a copy of [[LEVEL]].
 
See [[LEVEL]], [[VOLUME]], [[level_number]], [[volume_number]], and [[m_volume_number]].
 
[[Category:Userdef_structure_members]]

Revision as of 16:09, 8 August 2007

m_level_number holds the next level number to go to after the current level is completed (via a nuke button, lotag 65534 or 65535 sectors, et cetera…). If you are going to use the startlevel command instead of hard-coded level switching behavior, using this is useful, although you could also simply add 1 to a copy of LEVEL.

See LEVEL, VOLUME, level_number, volume_number, and m_volume_number.