Hi,
I'm trying to read the ObjectID following the creation of an object using AICreateSimulatedObject. This is an extract from the SimConnect Debug Log.
> 1458.77925 [342, 6]AICreateSimulatedObject:szContainerTitle="Ambulance03", InitPos=1119350480, RequestID=5 < 1458.78427 [342] AssignedObjectID: RequestID=5 ObjectID=438 > 1458.78480 [342, 7]RequestDataOnSimObjectType:RequestID=5, DefineID=1, dwRadiusMeters=100000, type=5 < 1458.78553 [342] >>>>> EXCEPTION=3, SendID=7, Index=2 <<<<<
I should add that the object is created without any problem, it just keeps wandering off on it's own little journey down the hill! Basically, I'm trying to read the ObjectID to then send some waypoints.
I'm using the Python SimConnect library coupled with the Python MobiFlight WASM Module.
Any help greatly appreciated!