I am trying to implement the Landing Gear offset that is used as an example in the FSUIPC4 for Advanced Users Guide. Basically, I do not want to allow the landing gear to be retracted while the aircraft is on the ground. This is my first attempt to set any offsets. Therefore, for now, I am trying to stick with one of the more basic offsets that I want. However, I am not having any luck making it work. Hopefully, someone can send me in the right direction.
First off, I have read the Advanced Guide thoroughly and I followed what I thought was the correct syntax to get this to work. Following the example and editing it for my application, I added this offset condition to the buttons section for my aircraft.
14=W0366=0 P3.0.C66079.0
Joy#3 But#0 is a controller that is not actually there, because I am actually using an axis on my throttle quadrant to operate the gear. However, axes are not buttons, so I think I need an emulated button to make this offset work, which is what I was trying to create. However, when I ran FS to test it, the offset did not work. I returned to edit the fsuipc.ini file again and I had <<Error 20: Line Ignored>>. Obviously, from the Error code 20, there is a syntax error on my part, but I am not sure what I did wrong. Can someone spot what I did wrong and enlighten me please?
Thanks,
Chris