Black Ops III

GetMapAtIndex

Get the name of the map at the given index in a mode's maptable. Returns undefined if the given index doesn't index the given maptable

Example:

GetMapAtIndex( "cp_mi_sing_blackstation" )

Parameters

ParameterSummary
*indexthe index of the map you're looking for.
dlcindexdlc1..N if DLC. If ommitted, use "base".
sessionmodeabbrevcp,mp,zm. If ommitted, use current game mode abbreviation

* = mandatory