2016-06-25 19:46:24 +00:00
|
|
|
// point of this file is to disable "auto-weather" by default
|
2016-06-25 18:39:06 +00:00
|
|
|
// we want this, because it breaks weather commands we use in this component
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2016-06-25 19:46:24 +00:00
|
|
|
// cannot create checkboxes which have the default value "true"
|
2016-06-25 18:39:06 +00:00
|
|
|
// 3den uses inverted checkboxes instead, but those only change in appearence
|
|
|
|
// we have to auto set these settings manually - on mission creation
|
2024-06-20 05:04:34 +00:00
|
|
|
add3DENEventHandler ["OnMissionNew", {
|
2016-06-25 18:39:06 +00:00
|
|
|
set3DENMissionAttributes [
|
|
|
|
["Intel", "IntelWavesIsForced", true],
|
|
|
|
["Intel", "IntelWindIsForced", true]
|
|
|
|
];
|
2016-06-25 19:46:24 +00:00
|
|
|
}];
|