LUA Script to automate EMCON when ELINT satellites are near
Posted: Sat Dec 18, 2021 1:43 pm
I wrote a script to automate EMCON control when an ELINT sat approaches. Found it useful in scenarios with a lot of satellites, like "A Helping Hand 1979". Turns off radar if a satellite is within a specified range and turns it back on if it leaves said range. Had to loop through units and filter out satellites because UnitEntersArea does not appear to work for sats.
Just extract the script and load it from the LUA console window, adjust a few variables according to your needs and run.
Let me know if any problems arise.
Just extract the script and load it from the LUA console window, adjust a few variables according to your needs and run.
Let me know if any problems arise.