Hi all !
Im currently getting info on all AI planes on a 20 mile radius using the following commands:
1 SimConnect_AddToDataDefinition (1sec)
2 SimConnect_SubscribeToSystemEvent and
3 SimConnect_RequestDataOnSimObjectType (setting range to 20.000)
4. receive data on SIMCONNECT_RECV_ID_SIMOBJECT_DATA_BYTYPE
This works fine except that FSX seems to crash if there are a lot of airplanes in the radius. Is there any way to filter on properties (Eg: only show 'trafficstate' enroute) to reduce the number of planes that have to be sent accross? Im only interested in flying planes, not the ones that are idling on airfields!
Is the 1..4 procedure im following to receive AI the correct one?
Thanks !
Im currently getting info on all AI planes on a 20 mile radius using the following commands:
1 SimConnect_AddToDataDefinition (1sec)
2 SimConnect_SubscribeToSystemEvent and
3 SimConnect_RequestDataOnSimObjectType (setting range to 20.000)
4. receive data on SIMCONNECT_RECV_ID_SIMOBJECT_DATA_BYTYPE
This works fine except that FSX seems to crash if there are a lot of airplanes in the radius. Is there any way to filter on properties (Eg: only show 'trafficstate' enroute) to reduce the number of planes that have to be sent accross? Im only interested in flying planes, not the ones that are idling on airfields!
Is the 1..4 procedure im following to receive AI the correct one?
Thanks !