In this case you might want to check out the UFO. It has some very fancy code for placing objects in the scenery by clicking on the ground. The basic nasal function doing the trick is geo.put_model() (look in your data/Nasal directory for the file geo.nas). This just places a model into the scenery without adding any intelligence. If you want that model to do some magic, like moving around, that can't be done by just clicking somewhere or by a keystroke.
Hope this helps, Torsten BTW: we discourage top posting on this list. > hi > > thanks Torsten it looks so intersting but what I want to do is to create an > object dynamicly when FG is running via the keyboard for example. I did > this before with ESP but in FG I don't know if there's a function in the > source which allows to do this. > > > thanks > > ITAF > > > Subject: Re: [Flightgear-devel] handling AI objects > > To: FlightGear developers discussions > > <flightgear-devel@lists.sourceforge.net> > > Message-ID: <200902231243.27093.tors...@t3r.de> > > Content-Type: text/plain; charset="utf-8" > > > > > hi > > > > > > I would like to know if flightgear source code has any function which > > > > can > > > > > create/remove/control AI objects ( aircraft, cars etc...) > > > > > > thx > > > > Certainly it has. > > You might want to read this: > > http://wiki.flightgear.org/index.php/AI_Systems > > > > Torsten ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel