Search found 2262 matches

by JackZ
Tue Aug 29, 2023 7:18 pm
Forum: Under development and finished work
Topic: Air Manager Panel for Leonardo Maddog X MSFS
Replies: 13
Views: 3881

Re: Air Manager Panel for Leonardo Maddog X MSFS

Most likely, there is some internal calculations with a specific Lvar. Had the same problem with the Carenado PC12.
Try to hunt down any exotic Lvar with EGT using the developer’s tool Behavior explorer
by JackZ
Tue Aug 29, 2023 7:14 pm
Forum: Air Manager Bug Reports
Topic: [WIKI] Clarification Requests / Typos & dead links report
Replies: 9
Views: 2711

Re: [WIKI] Typos & dead links report

I do confirm.
The link to XPlane Datarefs from the Wiki page is dead
by JackZ
Mon Aug 28, 2023 2:42 pm
Forum: Air Manager Help
Topic: New User - Bespoke Panels?
Replies: 5
Views: 344

Re: New User - Bespoke Panels?

That’s the joy of Air Manager, you can create your own instruments. The learning curve is steep at first, and some graphic skills along some programming are involved but it’s worth the try. The forum is here to help, I can even add some needle vibration routines once done, to mimic the needle vibrat...
by JackZ
Mon Aug 28, 2023 8:36 am
Forum: Lua and API Scripting Help
Topic: Can't read LVAR in Leonardo's Md80
Replies: 4
Views: 1361

Re: Can't read LVAR in Leonardo's Md80

You could try
fs2020_variable_subscribe("L:fgcp_autothrottle_switch1", "number", atSwitch)

I found that on other sims, some LVars return a number instead of an INT or Float
by JackZ
Sun Aug 20, 2023 1:27 pm
Forum: Under development and finished work
Topic: PC 12 panel
Replies: 4
Views: 1785

Re: PC 12 panel

Unfortunately not, as it is a private development command for a customer. Apart the radio, everything is custom. And the MSFS port was a pain… As usual I worked out of the real manual to add features not included in the Carenado addon The Altitude selector KCS297 is also on the works, here again poo...
by JackZ
Fri Aug 18, 2023 11:37 am
Forum: Lua and API Scripting Help
Topic: MSFS2020 Lvar write?
Replies: 8
Views: 2146

Re: MSFS2020 Lvar write?

Reading your thread on the support ticket with Just flight, your problem could be that the f2020_write() is so fast that it is not taken into account. Lua is fast! A quick and dirty solution would be to fire the same event/write a couple of time in sequence using a for … loop instead of only once Ex...
by JackZ
Fri Aug 18, 2023 11:21 am
Forum: Lua and API Scripting Help
Topic: MSFS2020 Lvar write?
Replies: 8
Views: 2146

Re: MSFS2020 Lvar write?

Lvars are specific to an addon. They are addressed differently from the « standard » (Simconnect) variables. L: in front of the name of the var itself is what tell AM to use an LVar instead of a Var. So your main problem is to find the proper LVar that actually works for your addon. Not ALL the fonc...
by JackZ
Sun Aug 13, 2023 2:42 am
Forum: Lua and API Scripting Help
Topic: Digital AGL gauge
Replies: 28
Views: 5506

Re: Digital AGL gauge

Yeah the IPhone autocorrect feature has never been designed for Lua programming
Good catch Gilles!
by JackZ
Fri Aug 11, 2023 6:25 pm
Forum: Lua and API Scripting Help
Topic: Digital AGL gauge
Replies: 28
Views: 5506

Re: Digital AGL gauge

Hi
Your code was wrong for starters. You didn’t use the variable agl in the function but instead FEET which was interpreted as nil.
Normally the modified script I published will work?
by JackZ
Fri Aug 11, 2023 2:06 pm
Forum: Lua and API Scripting Help
Topic: Digital AGL gauge
Replies: 28
Views: 5506

Re: Digital AGL gauge

Instead of “RADIO HEIGHT” that might not work all the time, try “PLANE ALT ABOVE GROUND”, “Feet”. This one should work EDIT. Got the error - - -- Add images in Z-order -- img_add_fullscreen("BkGrd.png") -- Add text -- txt_agl = txt_add(" ", "size:45px; color:#FFFFFF; halign:...