I made an mcp panel for the zibo.
I can't program the push buttons like "VOR LOC" for example.
Code: Select all
xpl_command("laminar/B738/autopilot/vorloc_press")
Can someone help me ?
Thank you
Code: Select all
xpl_command("laminar/B738/autopilot/vorloc_press")
Hi,Stef26 wrote: ↑Wed Sep 16, 2020 8:20 am Hi,
I made an mcp panel for the zibo.
I can't program the push buttons like "VOR LOC" for example.
when I execute the command, the VOR LOC key light is active but it does not stay on. It works well in the simulator.Code: Select all
xpl_command("laminar/B738/autopilot/vorloc_press")
Can someone help me ?
Thank you
Code: Select all
function press_vor_loc(position) -- VOR LOC button function
xpl_command("laminar/B738/autopilot/vorloc_press")
end
Code: Select all
xpl_dataref_subscribe("laminar/B738/autopilot/vorloc_status","INT", vorloc_chg)
Code: Select all
xpl_command("laminar/B738/autopilot/vorloc_press", var)
Code: Select all
xpl_dataref_subscribe("laminar/B738/autopilot/vorloc_status","INT", vorloc_chg)