Hey there,
I have an application which does inject controlled AI aircrafts into FSX. I use the method SimConnect_AICreateNonATCAircraft in order to introduce them. Among other things I'm trying to set the lights for this AI aircraft. But "LIGHT TAXI" seems to have a problem. No matter what value I send, SimConnect always raises a SIMCONNECT_EXCEPTION_DATA_ERROR. Every other light state is fine.
I was wondering if it is a known issue with SimConnect?
Some additional details:
I have the latest FSX SP2 with all required SimConnect patches.
Code snippets:
lightTaxi is a double. I have also tried to set it to 1.0 or anything between 0 and 1. But no luck.
I have an application which does inject controlled AI aircrafts into FSX. I use the method SimConnect_AICreateNonATCAircraft in order to introduce them. Among other things I'm trying to set the lights for this AI aircraft. But "LIGHT TAXI" seems to have a problem. No matter what value I send, SimConnect always raises a SIMCONNECT_EXCEPTION_DATA_ERROR. Every other light state is fine.
I was wondering if it is a known issue with SimConnect?
Some additional details:
I have the latest FSX SP2 with all required SimConnect patches.
Code snippets:
Code:
hr += SimConnect_AddToDataDefinition(hSimConnect, CSimConnectDefinitions::DataRemoteAircraft, "LIGHT TAXI", "Bool");
...
ddRemoteAircraft.lightTaxi = 0.0;


