hello, I've written perl script to build flight plans in fgfs some weeks ago: http://seb.marque.free.fr/fichiers/scripts/perl/plandevol-eng
as I wanted to write them in nasal scripting language, I need some functions to read the nav and airport data in the new script. I tried as I could without any success to implement new functions in FG_SRC/scr/NasalSys.cxx using globals->get_navlist()->findClosest(lat, lon, elev, type), globals->get_navlist()->get_navaids(), globals->get_navlist()->findFirstByIdent(ID, type, exact), globals->get_airports()->findFirstById(ID), etc.
as I'm going to be too busy for the next 3 weeks to try again, maybe it could be great if some of you could implement functions to get the nav and airports informations reachable from the nasal script. or a detailed example given in the cxx and hxx files, so I could try later again (I haven't found anything in docs).
I'm also reading the "Subsystem run-levels" thread, and I'll continue to listen it in order to keep my new nasal script compliant.
thank you very much best regards seb ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel