RavenTech Posted February 4, 2015 Report Posted February 4, 2015 Im trying to trigger an Aircraft Reload from my external program. I found the control at at 66512 (0x000103D2) but I am now stumped on how to proceed from here. Any help appreciated, this is coded in C# Thank YOu
Paul Henty Posted February 4, 2015 Report Posted February 4, 2015 The easiest way would be to use the new beta version of the DLL as it has a feature to send controls directly to FS. I've attached it here. Just overwrite your current DLL and XML file with the new ones. To send a control call: FSUIPCConnection.SendControlToFs(ControlNumber, ParameterValue); This just sends the control immediately (no need for a Process() call). There are also overloads that take an Enum instead of the raw control number. For your request to reload the aircraft you would use: FSUIPCConnection.SendControlToFS(FsControl.RELOAD_USER_AIRCRAFT, 0); (A parameter is not required for this control so it's just set to 0). Enums available are: FsControl - the normal FSX/P3D list of controls FSUIPCControl - Additional controls added by FSUIPC FSUIPCAxesControl - Used to control axed assign directly in FSUIPC FSUIPCAutoPilotControl PMControl - Controls for Project Magenta software PMDG_737_NGX_Control - Controls defined in the PMDG 737 NGX SDK Paul FSUIPCClient3.0_BETA.zip
RavenTech Posted February 4, 2015 Author Report Posted February 4, 2015 Very nice, will give it a try. I actually figured it out ashort while after posting but that looks alot more convienient Thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now