March 30, 200719 yr Is it possible to use SimConnect to pause and unpause the simulation, and if so how?
March 30, 200719 yr >Is it possible to use SimConnect to pause and unpause the>simulation, and if so how?>>You can send the events below to do so.KEY_PAUSE_ON PAUSE_ON Turns pause onKEY_PAUSE_OFF PAUSE_OFF Turns pause offusing SimConnect_TransmitClientEvent and SimConnect_MapClientEventToSimEvent.
March 30, 200719 yr Thanks very much, that works nicely. ( I didn't make the connection from the SDK docs).MRG
March 30, 200719 yr >Thanks very much, that works nicely. >( I didn't make the connection from the SDK docs).>>MRGThere's a number of events that you may not expect to be there. I've found quite a few things that I didn't think I'd have access to.
April 2, 200719 yr What about the full screen toggle + ?Although there may be a better way to achieve what I want to do - see other thread.MRG
December 7, 200718 yr >>Is it possible to use SimConnect to pause and unpause the>>simulation, and if so how?>>>>>>>You can send the events below to do so.>KEY_PAUSE_ON PAUSE_ON Turns pause on>KEY_PAUSE_OFF PAUSE_OFF Turns pause off>>using SimConnect_TransmitClientEvent and>SimConnect_MapClientEventToSimEvent.>>I am just having problems with these event ID's. I have done similar events such as Toggle Slew mode, and numerous others. HOwever, I cannot get the PAUSE_TOGGLE, SOUND_TOGGLE, PAUSE_ON, PAUSE_OFF to work. I have tried several things, but this is currently what I have using C#. Can anyone maybe help? Also, what do the numbers 1 and 0 do for the transmitclientevent command?bool Pause = false;enum EVENT_ID { EVENT_KEY_PAUSE_ON, EVENT_KEY_PAUSE_OFF, }simconnect.MapClientEventToSimEvent(EVENT_ID.EVENT_KEY_PAUSE_ON, "PAUSE_ON"); simconnect.MapClientEventToSimEvent(EVENT_ID.EVENT_KEY_PAUSE_OFF, "PAUSE_OFF");private void Pausebutton_Click(object sender, EventArgs e) { if (Pause == false) { simconnect.TransmitClientEvent(1, EVENT_ID.EVENT_KEY_PAUSE_ON, 1, GROUP_ID.GROUP_0, SIMCONNECT_EVENT_FLAG.DEFAULT); Pause = true; } else { simconnect.TransmitClientEvent(1, EVENT_ID.EVENT_KEY_PAUSE_OFF, 1, GROUP_ID.GROUP_0, SIMCONNECT_EVENT_FLAG.DEFAULT); Pause = false; } }
Create an account or sign in to comment