Moody1204 Posted May 30, 2019 Posted May 30, 2019 Hi everyone ! Here is my problem : I want a flight of Mirage to fly on the deck for a long distance until they reach the target. They need to stay on the deck because if they go above 500 feet AGL, they will activate SAMs site and QRFs. So I create a trigger as follow : Switching condition -> unit (Mirage) AGL above 500 AGL -> Flag on (1) + Activate SAM and QRF units The tricky part comes here : I want this condition to end when they are close to the target and once in the zone they receive a message telling them that they are closing (so they can go high without receiving the warnings and the strike is consider to be a success because stealth till the end). So I created a trigger zone as follow : Once -> Part of group inside the trigger zone -> Flag Off (1). It does not work because, once I'm in the trigger zone, I receive the message telling me I'm approaching target, but when I go above 500 AGL I still activate the SAM and QRF... Can somebody help me with that ? I believe I use flag the wrong way and I cannot managed to solve this. Thanks for your help !
Blythee Posted May 30, 2019 Posted May 30, 2019 Hi, Does this work for you? There might be a better/more efficient way of doing it but I think meets your needs.
Moody1204 Posted May 30, 2019 Author Posted May 30, 2019 (edited) Thanks a lot Blythee for your miz file it worked ! Also, someone else told me another solution a bit more efficient to solve this : "You don't want to turn off the Flag 1. You want a new Flag (2) to turn on, and make Flag 2 Off a requirement for the first trigger. " Switching condition -> unit (Mirage) AGL above 500 AGL AND Flag 2 Off -> Flag on (1) + Activate SAM and QRF units " " Once -> Part of group inside the trigger zone -> Flag 2 On" As long as Flag 2 is off, if they break the altitude barrier, the SAMs will activate. Once they're close enough, Flag 2 is On and even if they break the altitude, it won't trigger the SAMs. If that all makes sense." Thanks to SpikeGondorff from hoggit for sharing this. Edited May 30, 2019 by Moody1204
Recommended Posts