Bizarro Posted November 12, 2021 Posted November 12, 2021 (edited) Hi there. First I want to clarify that I'm pretty noob at ME and have zero idea of lua scripting, I don't even consider getting into it, and somehow I struggle with ME triggers that should be much easier to use, I think. I'm editing a mission that uses an electronic war aircraft to jam SHORADs to support an OCA strike disabling some Sa-8, so I thoguht of setting up a moving zone on the EW plane so when it is close enough to the SHORADs the will change to ROE weapons hold using user flags and switched condition triggers. The problem is that I'm getting inconsistent results, some times AI doesn't fire, but most of the time they still fire at me even with the conditions met to hold fire (I set a text message every time the flag is changed to ensure triggers are working, and they do). I have done a basic mission using the same logic (just changing blue coalition AC inside/outside zone to activate the triggers instead of enemy SAMs inside moving zone) for quick testing, and as I said, SAMs keep firing at me most of the time. I'll upload it if someone wants to check. SAM-8 ROE change.miz Edited November 13, 2021 by Bizarro
nomdeplume Posted November 15, 2021 Posted November 15, 2021 The group waypoint actions are run when the group reaches the waypoint. They do need continuously evaluate them. Therefore, the ROE will depend on which flag is set when the mission is started. You need to add the ROE as a 'triggered action' on the group (3rd tab in the group properties). Then from the trigger, in the actions add a AI TASK PUSH action and select the appropriate triggered action to change the group's ROE.
Recommended Posts