Has someone managed to set TAXI lights for AI traffic? I can set all the other lights, but taxi lights do not work. A similar question has been asked years back and I wonder if someone has solved the issue:
I have tried both, bit mask and single values. In the documentation it says the value are not settable, however the first approach works for everything except taxi lights. The second approach does not work at all (no lights). Any ideas?
Alternatively:
I have tried both, bit mask and single values. In the documentation it says the value are not settable, however the first approach works for everything except taxi lights. The second approach does not work at all (no lights). Any ideas?
Code:
hr += SimConnect_AddToDataDefinition(hSimConnect, CSimConnectDefinitions:DataRemoteAircraftParts, "LIGHT TAXI", "Bool");
hr += SimConnect_AddToDataDefinition(hSimConnect, CSimConnectDefinitions:DataRemoteAircraftParts, "LIGHT BEACON", "Bool");
hr += SimConnect_AddToDataDefinition(hSimConnect, CSimConnectDefinitions:DataRemoteAircraftParts, "LIGHT NAV", "Bool");
Alternatively:
Code:
hr += SimConnect_AddToDataDefinition(hSimConnect, CSimConnectDefinitions::DataRemoteAircraftParts, "LIGHT ON STATES", "Mask", SIMCONNECT_DATATYPE_INT64);
Last edited: