Black Ops III

GetMapOrder

Get the index of the current map in the maptable. Returns -1 if currentmap wasn't found

Example:

if( GetMapOrder( "cp_mi_sing_blackstation" ) > GetMapOrder( world.highestMapCompletion ) { world.highestMapCompletion = "cp_mi_sing_blackstation"; }

Parameters

ParameterSummary
[currentmap]the name of the current map. If ommitted, use Dvar sv_mapname
[dlcindex]dlc1..N if DLC. If ommitted, use "base".
[sessionmodeabbrev]cp,mp,zm. If ommitted, use current game mode abbreviation

* = mandatory