Arma 3 Scripting

getTextRaw

  • Arma 3 v2.02

Command · also in Localization · Markdown · JSON · original wiki page

Description

Returns raw text from config entry. If entry is subject to localization, the translation key is returned. To obtain the localized text, see getText.

Syntax

getTextRaw config

Parameters:

Returns: String - raw text value

Examples

Example 1

private _text = getText (configFile >> "CfgVehicles" >> "Thing" >> "displayName");            // "Get in %1 as Driver"
private _rawText = getTextRaw (configFile >> "CfgVehicles" >> "Thing" >> "displayName");    // "$STR_ACTION_GETIN_DRIVER"
private _localized = localize _text;                                                        // "Get in %1 as Driver"
_localized == _text; // true

See also

Stringtable.xml · localize · isLocalized · diag_localized · BIS_fnc_localize · getText · getNumber · getArray