CAPTAIN SIM FORUM
757 Captain III >> 757 Captain III - General >> SDK, LVAR, custom key mapping etc
https://www.captainsim.org/forum/csf.pl?num=1522250884

Message started by zulukilo on Mar 28th, 2018 at 3:28pm

Title: Momentary Action Switches
Post by JasonPC on Jul 18th, 2018 at 3:09am
Can someone explain the SDK manual a little bit to me.

I am trying to simulate clicking the LNAV button.

The LVAR for it is G03_011_BUT

according to the manual to convert this to an ID

first take out underscores G03011 then G = 17 so the ID is 1703011

This is where I struggle to get this to work.

Set the ID to the L:KLID variable

So basically I should write the LVAR variable to 1703011? tried this but having no luck.

Never mind I figured it out. The is an LVAR NAMED KLID that I need to set to trigger the button. Got it working!

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