plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

We prepared 3 new YouTube tutorials about Audio! They are available here.
You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!


question

Mr_LiamT avatar image
Mr_LiamT asked

How to manage AI in a mission?

I want to manage the AI of simobject I add in a mission (in containers). You can set up the values for the beginning, but you can't manage them afterwards. Instead, the sim changes things like the Unit_Mode and AircraftAIState itself. This doesn't work well and the AI often just doesn't move.

I have tried three ways to control the AI:

  • With an ActivateWaypointsAction. This only works if the AI is in the correct state and unitmode.
  • With a SendMessageToAIAction. This has only one working command for the baggageloader.
  • With a FlowStateAction. This has a TrafficAircraftStateName and you can link it to a container, but it doesn't seem to have any effect.
aircraftmission
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.