CloseMenu: Difference between revisions

From Zandronum Wiki
(This works over the network now)
Tag: Source edit
(Specify it affects the activating player)
Tag: Source edit
 
Line 4: Line 4:


== Usage ==  
== Usage ==  
Closes the menu the client is currently in.
Closes the menu the activating player is currently using.


=== Return value ===
=== Return value ===

Latest revision as of 23:11, 28 January 2024

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 CloseMenu (void) (development version 3.2-alpha and above only)

Usage

Closes the menu the activating player is currently using.

Return value

Returns 1 if the menu was closed successfully, or 0 on error (e.g. if the client is not currently in a menu).

Examples

This article lists no examples, please add one.

See also