This function shall only be used within the scope of function config
in war3map.j, it is executed by the game when you load the lobby/selected
the map for preview.
v1.32.10: WorldEditor limits map name input to 36 characters (ASCII/Unicode).
Old game versions (tested v1.0) used different sources for map name based on where it was intended to be displayed:
config
code and thus
makes use of SetMapName
and strings in .wts files.Reforged runs the configuration code in both cases. Therefore it always uses the proper name at the expense of increasing the loading time of map selection list.
Supports color codes (they also affect sorting)
Map name length:
DescriptionFirstL...
VeryLongMapName-ABCDEFGHIJKLMNOP...
Generated using TypeDoc
Sets the map name.