GetTextOverride
The mode’s text for a key and a language, if it gave one.
Only what SetTextOverride or LoadTextOverrides gave - never the game’s own text.
Syntax
Section titled “Syntax”GetTextOverride(key [, language])| Parameter | Type | |
|---|---|---|
key |
string | the game’s key |
language |
string | a language; left out = the text for every language (optional) |
Returns
Section titled “Returns”string - the text; nil when the mode gave none
Example
Section titled “Example”if not GetTextOverride("location_opatovice") then SetTextOverride("location_opatovice", "Kingsbridge")endSee also
Section titled “See also”SetTextOverride · the The game’s texts group of the index
