mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
15 lines
606 B
Plaintext
15 lines
606 B
Plaintext
#include "script_component.hpp"
|
|
|
|
_batteryTypes = (configFile >> "CfgAceArtyBatteryType");
|
|
lbClear IDC_Main_BatteryType;
|
|
for "_i" from 0 to (count _batteryTypes)-1 do {
|
|
_type = _batteryTypes select _i;
|
|
_index = lbAdd [IDC_Main_BatteryType, (getText(_type >> "name"))];
|
|
lbSetData [IDC_Main_BatteryType, _index, configName(_type)];
|
|
};
|
|
lbSetCurSel [IDC_Main_BatteryType, 0];
|
|
GVAR(missionComputed) = false;
|
|
IDC_Main_ObserverSelect call FUNC(populateObserverList);
|
|
IDC_Main_KnownPointSelect call FUNC(populateKnownPointList);
|
|
GVAR(currentComputer) setVariable [QGVAR(currentMission), [], true];
|