Cmenu: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''cmenu''' <value>
'''cmenu''' <value>


The '''cmenu''' CON command opens a specific menu screen as identified by the value. Individual values can be found by looking through [{{EDuke32 source|source/menus.c}} menus.c].
The '''cmenu''' CON command opens a specific menu screen as identified by the value. For more details see [[current_menu]].


If you want to override the hardcoded menu progression, it is recommended to use [[EVENT_CHANGEMENU]], although this command also works well in [[EVENT_DISPLAYMENU]] for the majority of cases.
If you want to override the hardcoded menu progression, it is recommended to use [[EVENT_CHANGEMENU]], although this command also works well in [[EVENT_DISPLAYMENU]] for the majority of cases.

Revision as of 22:16, 28 October 2012

cmenu <value>

The cmenu CON command opens a specific menu screen as identified by the value. For more details see current_menu.

If you want to override the hardcoded menu progression, it is recommended to use EVENT_CHANGEMENU, although this command also works well in EVENT_DISPLAYMENU for the majority of cases.

Remember that working around, hiding, or skipping the EDuke32 port credits (current_menu values 993 and 994) is a violation of the EDuke32 license.