Difference between revisions of "TMapsList.GetMapIdByName"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''function GetMapIdByName(Name: string): integer''''' Name: name of the map to searched ==Description== Returns the index of ''Name'' in TMapsList.Map array {{test|...")
 
Line 4: Line 4:
 
Returns the index of ''Name'' in [[TMapsList.Map]] array
 
Returns the index of ''Name'' in [[TMapsList.Map]] array
  
{{test|What if a map is already on there? is it case-sensitive?}}
+
{{test|What if a map is not in the array? is it case-sensitive?}}
 
[[Category:TMapsList]]
 
[[Category:TMapsList]]

Revision as of 11:04, 9 September 2016

function GetMapIdByName(Name: string): integer
 Name: name of the map to searched

Description

Returns the index of Name in TMapsList.Map array

Needs testing (What if a map is not in the array? is it case-sensitive?)