getTextRaw: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
|p1 = config: [[Config]] | |p1 = config: [[Config]] | ||
| [[String]] - | | [[String]] - raw text value |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 10:10, 20 August 2020
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.
- Groups:
- Uncategorised
Syntax
- Syntax:
- getTextRaw config
- Parameters:
- config: Config
- Return Value:
- String - raw text value
Examples
- Example 1:
_text = getTextRaw (configFile >> "CfgVehicles" >> "Thing" >> "displayName"); // Returns: "$STR_ACTION_GETIN_DRIVER"
Additional Information
- See also:
- configFileconfig/nameconfigNamecountgetArraygetNumberinheritsFromisArrayisClassisNumberisTextselectgetText
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
[[Category:Introduced with arma3dev version 2.01]][[ Category: arma3dev: New Scripting Commands | GETTEXTRAW]][[ Category: arma3dev: Scripting Commands | GETTEXTRAW]]