> If you want to do push-mode handling with an FGCommand and make it > settable by the user, you can have the command call (or be) a Nasal > script that can be assigned by the user (e.g. globals.crashHandler = > myFunction). Or have it indirect through another FGCommand binding > found in the property tree, etc...
Which reminds me, I'm using the command "old-reinit-dialog" in my crash handler, but I can't find where this is defined. It's not in FGCommand, so I assume it's a nasal script? I'm not sure what node should be provided as the second parameter. I'm using "/sim/presets", is that what's expected? I like the idea of a global crash handler script, but I don't know enough about nasal to write one. How would it be called from within the code? Dave _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d