qt-agistudio/help/menu_input.html

21 lines
892 B
HTML
Raw Permalink Normal View History

2019-05-01 17:46:38 -04:00
<HTML>
<HEAD>
<TITLE>menu.input</TITLE></HEAD>
<BODY>
<h1>menu.input</h1>
<B>Category</B><p>
<a href="menu_commands.html">Menu/Key commands</a><p>
<B>Syntax</B><p>
<p>
menu.input();<p>
<B>Description</B><p>
<p>
This brings up the menu at the end of the current interpreter cycle. The next cycle does not start until the user has selected an item from the menu, or pressed ESC to exit the menu.<p>
Flag 14 (or menu_enabled in the template game) must be set for this command to work.<p>
ESC is usually the key that activates the menu, but this is not built in to the interpreter so to do this you need assign the ESC key to a controller using <a href="set_key.html">set.key</a>, and then test for that
controller to activate the menu (this is already done in the template game).
<p>
<B>See also</B><p>
<a href="setting_up_menus_and_keys.html">Settings up menus and keys</a><p>
</BODY></HTML>