ManiaPlanet 3 ManiaScript Reference 2015.06.18.1510
A ManiaScript Reference of the ManiaPlanet 3 game (frozen installation). This is OUTDATED, and exists only for entertainment purposes.
|
(undocumented) More...
Functions | |
Real | ToReal (Text _Text) |
Returns the Real corresponding to _Text. | |
Integer | ToInteger (Text _Text) |
Returns the Integer corresponding to _Text. | |
Vec3 | ToColor (Text _Text) |
Returns the RGB color corresponding to _Text. | |
Text | SubString (Text _Text, Integer _Start, Integer _Length) |
Returns a substring of _Text. | |
Text | SubText (Text _Text, Integer _Start, Integer _Length) |
Returns a substring of _Text. | |
Integer | Length (Text _Text) |
Returns the length of _Text. | |
Text | ToText (Integer _Integer) |
Returns the Text corresponding to _Integer. | |
Text | ToText (Real _Real) |
Returns the Text corresponding to _Real. | |
Text | ToText (Boolean _Boolean) |
Returns the Text corresponding to _Boolean. | |
Text | ToText (Int3 _Int3) |
Returns the Text corresponding to _Int3. | |
Text | ToText (Vec3 _Vec3) |
Returns the Text corresponding to _Vec3. | |
Text | TimeToText (Integer _Time, Boolean _IncludeCentiSeconds) |
Returns the Text corresponding to _Time. | |
Text | TimeToText (Integer _Time) |
Returns the Text corresponding to _Time. | |
Text | ColorToText (Vec3 _Color) |
Returns the Text corresponding to _Color. | |
Text | FormatInteger (Integer Argument1, Integer Argument2) |
Text | FormatReal (Real _Value, Integer _FPartLength, Boolean _HideZeroes, Boolean _HideDot) |
Returns the Text corresponding to a Real. With formatting. | |
Text | ToUpperCase (Text _TextToChange) |
Changes lower case characters to upper case characters. | |
Text | ToLowerCase (Text _TextToChange) |
Changes upper case characters to lower case characters. | |
Boolean | CompareWithoutFormat (Text _Text1, Text _Text2, Boolean _IsCaseSensitive) |
Compares texts without taking format characters in account. | |
Boolean | Find (Text _TextToFind, Text _TextToSearchIn, Boolean _IsFormatSensitive, Boolean _IsCaseSensitive) |
Returns True if the searched text is found in the text to search in. | |
Text | Compose (Text Argument1) |
Text | Compose (Text Argument1, Text Argument2) |
Text | Compose (Text Argument1, Text Argument2, Text Argument3) |
Text | Compose (Text Argument1, Text Argument2, Text Argument3, Text Argument4) |
Text | Compose (Text Argument1, Text Argument2, Text Argument3, Text Argument4, Text Argument5) |
Text | Compose (Text Argument1, Text Argument2, Text Argument3, Text Argument4, Text Argument5, Text Argument6) |
Text | MLEncode (Text Argument1) |
Text | URLEncode (Text Argument1) |
Text | StripFormatting (Text Argument1) |
Text[Void] | Split (Text Argument1, Text Argument2) |
Text | Join (Text Argument1, Text[Void] Argument2) |
Text | SmartSplit (Text Argument1, Integer Argument2, Integer Argument3, Integer Argument4) |
Text | Trim (Text Argument1) |
Text | ReplaceChars (Text Argument1, Text Argument2, Text Argument3) |
Text | Replace (Text _Text, Text _ToReplace, Text _Replacement) |
Replaces occurences of _ToReplace in _Text with _Replacement. | |
Text | GetTranslatedText (Text _Text) |
Lookup the text in the current translation dictionary. | |
(undocumented)
Returns the Text corresponding to _Color.
_Color | : The color you want to convert into a text |
Compares texts without taking format characters in account.
Returns True if Text1 and Text2 are equal. Format differences are not taken into account. Case differences are taken into account if IsCaseSensitive is set to True.
Boolean TextLib::Find | ( | Text | _TextToFind, |
Text | _TextToSearchIn, | ||
Boolean | _IsFormatSensitive, | ||
Boolean | _IsCaseSensitive ) |
Returns True if the searched text is found in the text to search in.
Format is not taken into account if IsFormatSensitive is set to False. Case is not taken into account if IsCaseSensitive is set to False.
_TextToFind | : The text you are looking for |
_TextToSearchIn | : The text you are searching in |
_IsFormatSensitive | : True if you want to take Format into account, False elseway |
_IsCaseSensitive | : True if you want to take Case into account, False elseway |
Lookup the text in the current translation dictionary.
Lookup the text in the current translation dictionary, and returns the translation, or returns the original text if not found.
Returns the length of _Text.
_Text | : The text you want the length |
Replaces occurences of _ToReplace in _Text with _Replacement.
_Text | : The text you search in |
_ToReplace | : The text you want to replace |
_Replacement | : The text you want to insert |
Returns a substring of _Text.
Returns the substring of _Text beginning at the _Start index, with a length of _Length chars Returns an empty Text if _Start > Text.Length or _Length == 0
_Text | : The text in which we look for the substring |
_Start | : The beginning index of the substring |
_Length | : The length of the substring |
Returns a substring of _Text.
Returns the substring of _Text beginning at the _Start index, with a length of _Length chars Returns an empty Text if _Start > Text.Length or _Length == 0
_Text | : The text in which we look for the substring |
_Start | : The beginning index of the substring |
_Length | : The length of the substring |