I haven't been able to work this out either. I was wondering whether the export table would be useable, but I'm afraid my knowledge of programming doesn't extend that far. I have been trying to work through Cyril Hruscak's FSGUI Module User's Guide to see if I can work out how to use the functions in the traffictoolbox. His guide is at
http://library.avsim.net/search.php?SearchTerm=cyril+hruscak+fsgui&CatID=root. I principally want to be able to create and delete AI aircraft with customised flight plans.
In terms of manipulating the control of aircraft, though, this is possible through FSUIPC. I wrote a smalled multi-threaded application and assigined a thread to each AI plane, and was then able to send all sorts of commands to the aircraft, including bank, pitch, yaw, gear up and down, and so forth.
The offsets to use are at 2900. The control ids for the offset usage are contained in Pete Dowson's control list at
http://www.schiratti.com/files/dowson/FS2004controls.zip.
I think these controls are what AISmooth utilises.
However, if anyone out there has any ideas on how to access the traffictoolbox functions, please share them!
Additionally, if anyone has any thoughts on how to change runway assignments for AI, please share them too. That's my other dream - to work out how to change those. Then, as they say, my FS9 experience would be complete.
Bryn.