Skip to content

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.

GetTextOverride(key [, language])
Parameter Type
key string the game’s key
language string a language; left out = the text for every language (optional)

string - the text; nil when the mode gave none

if not GetTextOverride("location_opatovice") then
SetTextOverride("location_opatovice", "Kingsbridge")
end

SetTextOverride · the The game’s texts group of the index