MediaWiki has been updated to version 1.35.1. Please report any problems here.

Changes

Jump to navigation Jump to search
283 bytes added ,  21:28, 26 June 2020
Line 200: Line 200:     
<syntaxhighlight lang="nasal">
 
<syntaxhighlight lang="nasal">
 +
 +
# Load a customer Interface controller
 +
var aircraft_dir = getprop("/sim/aircraft-dir");
 +
io.load_nasal(aircraft_dir ~ '/Nasal/GenericInterfaceController.nas', "fg1000");
 +
 +
var interfaceController = fg1000.GenericInterfaceController.getOrCreateInstance();
 +
interfaceController.start();
    
io.load_nasal(aircraft_dir ~ '/Nasal/EIS/EIS-J3Cub.nas', "fg1000");
 
io.load_nasal(aircraft_dir ~ '/Nasal/EIS/EIS-J3Cub.nas', "fg1000");

Navigation menu