GetCurrentMapPosition: Difference between revisions

From Zandronum Wiki
(Created page with "{{ACSWarning}} int '''GetCurrentMapPosition''' (void) {{Devfeature|3.2|alpha}} == Usage == Returns the index of the current map in the map rotation. === Return value === Returns the map's position in the map rotation (starting from 1). If there is no rotation, or the map currently being played is not in the rotation, then this function returns 0. == Examples == {{noexamples}} == See also == * GetMapRotationSize * GetMapRotationInfo Category:ACS functions")
Tag: Source edit
 
Tag: Source edit
 
Line 1: Line 1:
{{ACSWarning}}
{{ACSWarning}}
{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}}


int '''GetCurrentMapPosition''' (void) {{Devfeature|3.2|alpha}}
int '''GetCurrentMapPosition''' (void) {{Devfeature|3.2|alpha}}

Latest revision as of 23:33, 2 January 2023

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

Usage

Returns the index of the current map in the map rotation.

Return value

Returns the map's position in the map rotation (starting from 1). If there is no rotation, or the map currently being played is not in the rotation, then this function returns 0.

Examples

This article lists no examples, please add one.

See also