Dota 2 Workshop Tools/Scripting/API/Global.DoUniqueString: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
(Dota_Lebot push: Updated Page)
Line 6: Line 6:




''' string DoUniqueString(string ''a'') '''
''' string DoUniqueString(string ''string_1'') '''


''UniqueString:Generate a string guaranteed to be unique across the life of the script VM, with an optional root string. Useful for adding data to table's when not sure what keys are already in use in that table.''
''UniqueString:Generate a string guaranteed to be unique across the life of the script VM, with an optional root string. Useful for adding data to table's when not sure what keys are already in use in that table.''
Line 19: Line 19:
|-
|-
| string
| string
| a
| string_1
| No Description Set
| No Description Set
|}
|}

Revision as of 04:29, 19 June 2015

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

string DoUniqueString(string string_1)

UniqueString:Generate a string guaranteed to be unique across the life of the script VM, with an optional root string. Useful for adding data to table's when not sure what keys are already in use in that table.


Parameters

Type Name Description
string string_1 No Description Set

Returns

string - No Description Set