OpenMenu

From Zandronum Wiki
Revision as of 00:12, 29 January 2024 by DrinkyBird (talk | contribs) (Specify it affects the activating player)
(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 development builds of Zandronum 3.2 and newer.

int OpenMenu (str name) (development version 3.2-alpha and above only)

Usage

Opens a menu for the activating player.

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