getTextRaw

From Bohemia Interactive Community
Revision as of 11:31, 18 September 2020 by R3vo (talk | contribs) (Text replacement - "|Game name=" to "|Game name= |gr1= Config |GROUP1= ")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 Development Branch version 2.012.01DEV BRANCH ONLY ⚠
Hover & click on the images for descriptions

Description

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

Syntax:
getTextRaw config
Parameters:
config: Config
Return Value:
String - raw text value

Examples

Example 1:
_text = getTextRaw (configFile >> "CfgVehicles" >> "Thing" >> "displayName"); // "$STR_ACTION_GETIN_DRIVER" _key = _text select [1]; // "STR_ACTION_GETIN_DRIVER" _localized = localize _key; // "Get in %1 as Driver" _localized == getText (configFile >> "CfgVehicles" >> "Thing" >> "displayName"); // true

Additional Information

See also:
configFileconfig/nameconfigNamecountgetArraygetNumberinheritsFromisArrayisClassisNumberisTextselectgetText
Groups:
Config

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section