- Messages
- 46
- Country

Hello,
I'd like to get some advice on how to detect properly the sim reset :
I am working on a TCAS implementation and I fill a table using EVENT_OBJECT_ADDED/REMOVED as planes are fed in by the AI engine.
Now when the sim reset (new situation loaded, flight restarted, ...) I need to cleanup the table and restart it.
How to detect that a reset is being done properly ? I also need to get it before AI traffic is generated. sim start/stop events does not seem appropriate since the doc mention that they are generated when the user navigate in the menus (I don't want to erase my TCAS table if the user opens a menu ...)
Thanks for your kind help,
Oliver
I'd like to get some advice on how to detect properly the sim reset :
I am working on a TCAS implementation and I fill a table using EVENT_OBJECT_ADDED/REMOVED as planes are fed in by the AI engine.
Now when the sim reset (new situation loaded, flight restarted, ...) I need to cleanup the table and restart it.
How to detect that a reset is being done properly ? I also need to get it before AI traffic is generated. sim start/stop events does not seem appropriate since the doc mention that they are generated when the user navigate in the menus (I don't want to erase my TCAS table if the user opens a menu ...)
Thanks for your kind help,
Oliver
