Hi all,
I am currently trying to write a program (C#) which add scenery objects via AICreateSimulatedObject when the user flies within a defined area.
When starting the program it does not know what objects to show later (feed by xml files from a web server). And it can happen that objects change on runtime.
The code to show a object would be something like this:
Problem: How do I add / remove / change elements in the EQUEST_ID enum on runtime?
And how to insert the correct enum value in the function call.
greez bergziege
Ps.: the big G could't help me so far.
I am currently trying to write a program (C#) which add scenery objects via AICreateSimulatedObject when the user flies within a defined area.
When starting the program it does not know what objects to show later (feed by xml files from a web server). And it can happen that objects change on runtime.
The code to show a object would be something like this:
Code:
simconnect.AICreateSimulatedObject("de Havilland Dash 8-100", initpos, REQUEST_ID.Plane1)
Problem: How do I add / remove / change elements in the EQUEST_ID enum on runtime?
And how to insert the correct enum value in the function call.
greez bergziege
Ps.: the big G could't help me so far.
