VTJS17_Fire Posted January 19, 2021 Posted January 19, 2021 Hi, knows anybody a script to turn off an SAM AIs Search Radar or Tracking Radar randomly, respectively when enemy aircraft are inbound? I know there is an IADS script, but I don't want to build a whole IADS, just for some SAM units. Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit [sIGPIC][/sIGPIC]
toutenglisse Posted January 19, 2021 Posted January 19, 2021 It is this option : https://wiki.hoggitworld.com/view/DCS_option_alarmState You can use these lines below in a "do script" action box to set the alarm state you want, in relation to conditions you want. local myGroup = Group.getByName('ME sam group name') if myGroup and myGroup:isExist() == true and #myGroup:getUnits() > 0 then myGroup:getController():setOption(9, 0) --0=auto, 1=green, 2=red. end
VTJS17_Fire Posted January 19, 2021 Author Posted January 19, 2021 Thanks, will try it. Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit [sIGPIC][/sIGPIC]
Recommended Posts