Strings (functions)
From PMDOWiki
More functions: Script Reference
This article is in need of cleanup to increase its quality. You can help PMDO Wiki by improving it.
STRINGS:LocaleCode
Gets the current language setting of the game.
Returns
The current language, represented by a locale code.
STRINGS:Format(System.String,System.Object[])
Formats a string. Will unescape escaped characters and process grammar tags.
Arguments
fmt: String to format.para: Arguments
Returns
The formatted string.
STRINGS:FormatKey(System.String,System.Object[])
Formats a string given a string key. Will unescape escaped characters.
Arguments
fmt: The string key to formatpara: string arguments
STRINGS:LocalKeyString(System.Int32)
Gets the string representing a button or key.
Arguments
index: The input type of the input.
Returns
The string representing the button o key the input maps to.
STRINGS:CreateList(NLua.LuaTable)
Builds a single string of comma separated elements.
Arguments
listStrings: LuaTable of strings containing the elements to build the list from.
Returns
The combined string containing all elements.
