Cmenu: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
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. Individual values can be found by looking through [{{EDuke32 source|source/menus.c}} menus.c].


If you want to override the hardcoded menu progression, it is recommended to use [[EVENT_CHANGEWEAPON]], 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.


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


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]

Revision as of 22:14, 28 October 2012

cmenu <value>

The cmenu CON command opens a specific menu screen as identified by the value. Individual values can be found by looking through menus.c.

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.