First off, I would like to say that this is an incredible collection of scripting
Art. I am humbled.
I have had this for awhile and did a couple of the demo missions. Yesterday I got tired of death by MANPAD in a mission I am working on and went looking for a good flare/chaff defense script. Then I remembered your Mando Missle suite....
Read this thread...got confused..so I started reading the script comments.
I found this in
mando_missileecm;
The purpose is to add an automatic missile defense system for a unit (chaff or flares).
The unit will use them automatically when needed.
Parameters:
Unit that has the CHAFF or FLARES packs
Minimum distance beetween incomming missile and the unit to drop flares or chaff
Type: 0 - Chaff, 1 - Flares
Number of chaff or flares packs, each usage substracs one to this initial quantity
radio: true/false, if unit sends radio messages indicating a missile incomming, chaff or flares dropped, missile evaded, etc.
Example AV8B with a chaff system (10 chaff packets):
[harrier1, 300, 0, 10, true]execVM"mando_missiles\units\mando_missileecm.sqf"
So I put this in the init box of a chopper;
res = [this, 300, 1, 20, false]execVM"mando_missiles\units\mando_missileecm.sqf";
It works great, launches the flares automatically and they are very effective.
But....I have a couple of questions/wishes.
1. How or can I have both flares and chaff automatically?
2. I have no inventory of how many flares I have on board. How do I get that?
3. Is there a way to set it up for both auto and manual activation?
4.
I get no message about an incoming missile, is that the "radio" message talked about in the script comments?Yep, it sure does. Changed it to "True" in the init box and I now get messages.
Thanks again for your outstanding work.