If the topic is familiar, it's because I am re-asking the question. My first attempt was sort of hijacked by a well-meaning individual that, in essence, suggested I give up, something I'm not going to do,. So, here's the situation, again:
I really would appreciate any help possible except the suggestion to quit!!I am trying the seemingly impossible - at least so far - I am trying to add an autopilot to the Cessna 152! Why you ask? Because I'm trying to build an MCP in AM and I need something to test it on. I can't use an airplane that already has one so, since I've "flown" the 152, it's a natural selection.
Enough of the background; In order to "install" an Autopilot on any airplane, I presume you must power it up. I've made several changes to the "systems.cfg" file (allowing an autopilot - [autopilot] section) but that wasn't enough. So, I've tinkered around in the [electrical] section, added a connection but it still doesn't work. So to my question.
I want to trace the power around the airplane so I need to find out the syntax for, for example, the "BUS LOOKUP INDEX". It's reference is: "This is a settable simvar meaning that it can both be read and set. Some of the simvars in this list are using this to lookup a value using two arguments (one argument in addition to the component index). For example to check the state of the connection between a "circuit.45" and the "bus.2" it would be written as follows:
2 (>A:BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:45, Bool)". What I want to know is how to state something like circuit.34, & bus.2 in the form of fs2020_variable_subscribe(?)?
I am bound to make this work but I am stymied at the moment so any assistance would be most appreciated.
Sparky