Set Pause Simulation with Simconnect

I’m looking for a way to set Pause simulation using Simconnect

not the one raised with event “PAUSE_ON”, like so

msfs_simConnect.TransmitClientEvent(SimConnect.SIMCONNECT_OBJECT_ID_USER, EVENT_ID.PAUSE_OFF, 1, priority.groupPriority, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY)

but the one obtained via the dev menu Options/Simulation - Pause Simulation (and of course the Resume Simulation)

Hi, try PAUSE_SET with 1/0.

This is actually not the same “pause type” as PAUSE_ON/PAUSE_OFF, (despite the fact that the docs make no mention of this). PAUSE_SET is like “Dev Mode pause” while PAUSE_ON/OFF is more like “ESC key pause” but w/out the popup menu.

Caveat emptor: Unless something has changed in FS24 in the last couple months, ofc… I tested in an earlier release and it seemed same as FS20.

HTH,
-Max

3 Likes

Beautiful, works perfectly!
Thanks a lot for the fast answer!

2 Likes