CAPTAIN SIM FORUM
767 Captain II (P3D4) >> 767 Captain II - GeneralĀ  >> Disconnect your Autothrottle THE CORRECT WAY
https://www.captainsim.org/forum/csf.pl?num=1588301323

Message started by violinvelocity on May 1st, 2020 at 2:48am

Title: Re: Disconnect your Autothrottle THE CORRECT WAY
Post by Desmond on May 22nd, 2021 at 1:00am
Hi there, I've been struggling with this from months...
The lua script doesn't work for me (Neither in the 757 nor in the 767), but the animation of the button pressed is displayed. I have this problem also with other momentary switches like the Go Around one.


Code (]
ipc.writeLvar('L:P05_007_BUT',1)
ipc.sleep(500)
ipc.writeLvar('L:P05_007_BUT',0)
[/code):



However, others lvar such as lights work properly, like this:

[code]-- Beacon lights
ipc.writeLvar('O20_002_BUT',1)


I believe I'm missing something but I cannot find it :(

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.