SHOW:
|
|
- or go back to the newest paste.
1 | TLC_config_myNameConfig = | |
2 | { | |
3 | life_myTagID = ""; | |
4 | { | |
5 | if ([getText(_x >> "conditions")] call TLC_functions_conditionsCheck) exitWith {life_myTagID = configName _x}; | |
6 | } forEach ("true" configClasses (missionConfigFile >> "LifeCfgTags")); | |
7 | ||
8 | ||
9 | if !(life_myTitleID isEqualTo "") then { | |
10 | if (!isClass (missionConfigFile >> "LifeCfgTitles" >> life_myTitleID)) then { | |
11 | life_myTitleID = ""; | |
12 | } else { | |
13 | if !([getText(missionConfigFile >> "LifeCfgTitles" >> life_myTitleID >> "conditions")] call TLC_functions_conditionsCheck) exitWith { | |
14 | life_myTitleID = ""; | |
15 | }; | |
16 | }; | |
17 | }; | |
18 | ||
19 | ||
20 | if !(life_myIconID isEqualTo "") then { | |
21 | if (!isClass (missionConfigFile >> "LifeCfgTitlesIcon" >> life_myIconID)) then { | |
22 | life_myIconID = ""; | |
23 | } else { | |
24 | if !([getText(missionConfigFile >> "LifeCfgTitlesIcon" >> life_myIconID >> "conditions")] call TLC_functions_conditionsCheck) exitWith { | |
25 | life_myIconID = ""; | |
26 | }; | |
27 | }; | |
28 | }; | |
29 | }; |