DCS func getValueDictByKey
From DCS World Wiki - Hoggitworld.com
Envrioment: | Mission Scripting | ||
Function: | getValueDictByKey | Added with: 1.5 | |
Member Of: | env | ||
Syntax: | function env.getValueDictByKey(string value ) | ||
Description: | Returns a string associated with the passed dictionary key value.
| ||
Return Value: | function | ||
Return Example: | string | ||
Examples: | groupName = env.getValueDictByKey('DictKey_GroupName_5') | ||
Related Functions: | env functions: info, warning, error, setErrorMessageBoxEnabled, getValueDictByKey | ||
Notes: | With DCS 1.5 the mission file format has been changed. For localization reasons a large number of items are now saved in a lookup table within the .miz file. When parsing the mission file group names will appear as "Dictkey_groupName_x" however this value is of no use to the scripting engine. This function converts "dict key" value to its actual name. |