- Messages
- 497
- Country

Been some time since I did any Simconnect programming, but I seem to remember it being an issue in FSX.
Can a Simconnect app, delete AI aircraft that are being created over time by the Sim. ?
I am trying to delete AI Planes, within a radius of the user aircraft, and then, if there are still ones left that exceed a level, delete the ones furthest from the user plane, until the numbers are reduced to a given level.
My concern is that my SimConnect program will only be able to destroy Plane objects that it, itself has created, and not be able to delete sim generated plane objects.
Before I begin, should I be able to do this AI Plane reduction via a separate Simconnect app, or might there be a better way.
=======
Reason - Currently MSFS keeps generating AI Planes within the radius of a plane, but never delete any of those aircraft, even when they are no longer in that radius.
This results in a continual increase of AI Planes, until such time that the processing load to control these planes reduces FPS down to 10 FPS as and the sim becomes servery Main Thread limited.
Hopefully ASOBO will correct this at some time in the future, but there is no telling when, so a temporary solution would greatly help.
Can a Simconnect app, delete AI aircraft that are being created over time by the Sim. ?
I am trying to delete AI Planes, within a radius of the user aircraft, and then, if there are still ones left that exceed a level, delete the ones furthest from the user plane, until the numbers are reduced to a given level.
My concern is that my SimConnect program will only be able to destroy Plane objects that it, itself has created, and not be able to delete sim generated plane objects.
Before I begin, should I be able to do this AI Plane reduction via a separate Simconnect app, or might there be a better way.
=======
Reason - Currently MSFS keeps generating AI Planes within the radius of a plane, but never delete any of those aircraft, even when they are no longer in that radius.
This results in a continual increase of AI Planes, until such time that the processing load to control these planes reduces FPS down to 10 FPS as and the sim becomes servery Main Thread limited.
Hopefully ASOBO will correct this at some time in the future, but there is no telling when, so a temporary solution would greatly help.
