TMapsList.GetMapIdByName

From Soldat Community Wiki
Revision as of 19:32, 13 June 2018 by Morko (talk | contribs) (Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
function GetMapIdByName(Name: string): integer
 Name: name of the map to searched

Description

Returns the index of Name in TMapsList.Map array

Note: When a map is not in the array, the returned ID equals -1.
Note: The function is not case sensitive.