Hi All,
My main question is how can I print anything on FS screen. But let me explain in short what led me to this need. I'm building some simple GA cockpit and after interfacing almost all functionality I needed to hardware, I encountered really annoying problem. In most aircrafts that I use (Carenado's F33, RealAir Duke), in order to dial in AP altitude and AP vertical speed you must switch between them with some special button so they appear to view in AP window. The catch is in that this functionality is not supported by FSX API and is implemented by each arcraft vendor. I tried to give a chance to mouse macro wizard in FSUIPC but it just doesnt work. At all. I get a mouse macro window, give it a name, clicking 'OK', exiting FSUIPC, clicking, dragging, switching all different things in cockpit of many different aircrafts and nothing happens, - no window, no text, no prompts. No .mcro file is created of course. So I left this idea behind and decided to create lua script that will print V/S and ALT values in the screen corner for example and will be updated in case of update event when I change it with rotaries.
I started to learn Lua scripting, read FSUIPC Lua Library Reference. However there is still some mess in my head regarding usage of the library so, please if anyone could provide me with small code snippet or point to right one from examples it will be very appreciated.
BTW, if anyone will tell me why mouse macros might not work it will be appreciated also, despite that I don't really believe macro will help me :)
I have FSX with Acceleration pack, FSUIPC 4.823, Win 7 Enterprise and ATI graphics card.
Best Regards,
Mike