- Implemented attack nearest ground target.
- Implemented attack nearest air target.
- Report all targets.
- Report only ground targets.
- Report only ground targets with radar.
- Report only air targets.
- Sort targest from nearest to furthest.
- Improved menu system.
- Improved detection of ground targets and air targets and reporting.
- Added the task TASK_CAPTURE as part of the reporting framework.
- Improved the detection of targets. Now targets with specific detection methods are correctly detected. f.e. disabling DLINK will now work correctly!
All these fixes are great improvements to the AI_ESCORT framework!
DESIGNATE
- GetRootMenu() function seems obsolete and caused a crash in DESIGNATE class. Needs to be replaced by GetMenu() Function. This bug only appeared when a mission is given in DESIGNATE:New(...)
* SetRemoveParent method on menus removed, made obsolete, to avoid menus being deleted that should not.
* A2G reports now work again, and improved the reporting for successful or failed tasks.
* Removed MENU_CLIENT and MENU_CLIENT_COMMAND
* Improved the detection of new spawned groups within the TASK_A2G_DISPATCHER.
* Improved how new detections and new target sets are reported and followed-up within the TASK_A2G mechanism.
Pending: Improve the TASK_A2A_DISPATCHER and TASK_A2A mechanisms.
* DESIGNATE: Messages not appearing correctly and crashing the logic is
fixed. (due to a stupid typo).
* TASK_A2G: Tasking is fixed. Status menus are now displayed properly.
Also when the task is planned.
* MENU_COMMAND: I found now why DCS is displayer "error in error
handler" sometimes when a menu was selected. The error handler is DCS is
bugged, so made my own one.