Trailer Posted February 18, 2015 Posted February 18, 2015 (edited) I'm finishing up my newbie campaign and since it's an air to air SP campaign, there are a few SEAD escort missions. I was wondering if it's possible to have a Mission Accomplished trigger by protecting SEAD assets from specific aircraft. In other words, if they get shot down by a SAM site, that's on them and you shouldn't receive a mission failure since they weren't shot down by enemy aircraft. However, if you failed to protect them from said enemy aircraft, you would then get the Mission Fail trigger. I'm asking because in some scenarios it may be possible for the SEAD assets to do their job without having to engage enemy aircraft, but it doesn't help any if the trigger has a GROUP ALIVE condition when they may be shot down by arty or other SAM sites: something you have no control over as it's not your job. What I'm looking for is a GROUP NOT KILLED BY condition, or something of the sort. Does anyone have any idea if this can be done? Edited February 18, 2015 by Trailer
FSFIan Posted February 19, 2015 Posted February 19, 2015 I don't know if it is possible with the trigger system (I assume not, but I am not familiar enough with triggers to say for sure). It should be possible with a custom Lua script. You can define an event handler to be notified when a weapon hits. AFAIK at that point you also get the information about who shot that weapon, so you can detect which unit killed your target. If it was an enemy aircraft, set a flag that causes the mission to fail. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
Wrecking Crew Posted February 19, 2015 Posted February 19, 2015 Not with regular events, no. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Recommended Posts