diag localized: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Arma 3 v2.02 → v2.04) |
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.04 | |version1= 2.04 | ||
Revision as of 14:54, 3 May 2021
Description
- Description:
- Returns array with all localized keys from the given stringtable or the array of all stringtables names if empty string "" is given. Common stringtables are: "Global", "Mission", "Campaign".
- Groups:
- StringsLocalization
Syntax
- Syntax:
- diag_localized stringtable
- Parameters:
- stringtable: String - stringtable name or ""
- Return Value:
- Array - array of Strings, see description
Examples
- Example 1:
private _randomKey = selectRandom diag_localized "Global"; hint format ["Key: %1\nValue: %2", _randomKey, localize _randomKey];
- Example 2:
private _allTables = diag_localized "";
- Example 3:
diag_localized "Global" select 0; // "$STR_A3_SHOWCASE_SLINGLOADING_15_AMMODROPPED_PIL_0"
Additional Information
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