GetMapPosition: Difference between revisions

This was renamed to GetMapPosition, and can return the index of either the current or next map in the map rotation.
Tag: Source edit
(This was renamed to GetMapPosition, and can return the index of either the current or next map in the map rotation.)
Tag: Source edit
Line 2: Line 2:
{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}}
{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}}


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


== Usage ==
== Usage ==
Returns the index of the current map in the map rotation.
Returns the index of the current or next map in the map rotation.
 
=== Parameters ===
* ''type'': Can be either:
:*'''MAPPOSITION_CURRENT''' = 0
::The current map being played on.
:*'''MAPPOSITION_NEXT''' = 1
::The next map that will be entered.


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