* Justin Smithies -- Monday 06 March 2006 13:58: > Sorry to trouble you again Melchior FRANZ, > But how do i get this script to run in FG ? > > What do i place in the 737-300-set.xml file to make this nasal script active ? > I called the file engine.nas
Just look at how the 737 does it already! In file 737-300-set.xml there's this: <nasal> <airground> <file>Aircraft/737-300/Systems/air-ground.nas</file> </airground> </nasal> So it's loading air-ground.nas as module "airground", and you can access all its functions/variables from anywhere with "airground." prefix, for example airground.INAIR. Just add another file to that same <airground> module, or add a new module: <nasal> <airground> <file>Aircraft/737-300/Systems/air-ground.nas</file> </airground> <cutoff737> <file>wherever/you/put/it.nas</file> </cutoff737> </nasal> m. ------------------------------------------------------- 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