FoxZz
Posts: 92
Joined: 4/28/2015 Status: offline
|
Hello, I'm trying to create a mission where I want the AI side to scramble an interception air patrol in order to ID incoming bogeys. However, I would like the number of planes scrambled to be set accordingly with the number of bogeys detected. So that if many bogeys are detected, the AI scramble more planes than if a single bogey is detected. I was thinking to create two separate interception mission, one with 2 planes ready to be scrambled, and another one with 4 planes. The first mission would trigger if the number of bogey is between [1,4] and [8,infinite] The second mission would trigger of the number of planes is between ]4,infinite] So that if 1,2,3,4 bogeys are detected, mission 1 fire between 5 and 8, mission 2 fires from 8 and above, mission 2 and mission 1 fire This would allow the AI to have depending on the number of bgeys 2,4, or 6 planes in the air. Is there an LUA function for this ? Thanks.
< Message edited by FoxZz -- 6/11/2016 4:08:11 PM >
|