-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Melchior FRANZ wrote: > * AnMaster -- Friday 07 December 2007: >> <script>aircraft.HUD.cycle_color()</script> > [...] >> Yet I get this for button: >> Nasal runtime error: No such member: HUD >> at /input/joysticks/js/button[3]/binding, line 1 > > You probably defined a variable named "aircraft" somewhere else > in the joystick driver file, and this overwrote the "aircraft" > namespace created by $FG_ROOT/Nasal/aircraft.nas. You have to > know that all Nasal in a joystick driver is in a common Nasal > namespace. Ah, should call it aircraft-model or something then. Thanks I was not aware that nasal would do this. /AnMaster -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHWdKzWmK6ng/aMNkRCjKjAJ4hWNJEmKK64LuhNUwjAg+RYRoL0wCgnGi5 iC9Ifr7JAsDf07rmIFBRT0o= =HZrl -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel