OpenMenu

Revision as of 21:27, 24 January 2024 by DrinkyBird (talk | contribs) (Created page with "{{ACSWarning}}{{DevTopicWarning|acs-menufunctions|type=an ACS function|mr=11|mrtitle=ACS functions: "OpenMenu" and "CloseMenu"}} int '''OpenMenu''' (str ''name'') == Usage == Opens a menu. This function can only be used in <tt>CLIENTSIDE</tt> scripts. === Parameters === * ''name'': The name of the menu, as defined in MENUDEF. === Return value === Returns '''1''' if the menu was opened successfully, or '''0''' on error (e.g. if the menu does not exist). == Ex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.
This article documents an ACS function which is only available in the acs-menufunctions Mercurial topic.

Also see the following merge request: !11: ACS functions: "OpenMenu" and "CloseMenu"

int OpenMenu (str name)

Usage

Opens a menu. This function can only be used in CLIENTSIDE scripts.

Parameters

  • name: The name of the menu, as defined in MENUDEF.

Return value

Returns 1 if the menu was opened successfully, or 0 on error (e.g. if the menu does not exist).

Examples

This article lists no examples, please add one.

See also