GetCurrentGameMode: Difference between revisions

From Zandronum Wiki
(3.1 is released, so Devfeature templates have been removed)
No edit summary
Tag: Source edit
 
Line 3: Line 3:
str '''GetCurrentGameMode''' (void)
str '''GetCurrentGameMode''' (void)


==Usage==
== Usage ==
Returns the current game mode as a string, which can be one of the following:
Returns the current game mode as a string.
 
=== Return value ===
The return value may be one of the following:
 
*[[Game_Modes#Cooperative|Cooperative]]
*[[Game_Modes#Cooperative|Cooperative]]
*[[Game_Modes#Cooperative_Survival|Survival]]
*[[Game_Modes#Cooperative_Survival|Survival]]
Line 22: Line 26:
*[[Game_Modes#Domination|Domination]]
*[[Game_Modes#Domination|Domination]]


[[category:ACS Functions]]
== Examples ==
{{noexamples}}
 
[[category:ACS functions]]

Latest revision as of 18:00, 2 July 2022

This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

str GetCurrentGameMode (void)

Usage

Returns the current game mode as a string.

Return value

The return value may be one of the following:

Examples

This article lists no examples, please add one.