Any way of changing "Uncontrolled" AI to false via scripting?
Because of the way I play DCS I had this idea that it would be really cool to have a ramp populated with my aircrafts and then select one and start it. Certainly much more attractive than invisible aircrafts on an empty airbase (other than AI's) that only spawn into reality when you select them.
After some googling it turned out that I'm not the first with this idea, and that apparently there is no way of doing it.
Anyway... I thought of using AI aircrafts with the "Uncontrolled" option checked and use a trigger to activate one. I had that working so far. The last bit would be to be able to jump in with RAlt+J, but as it's marked as "Uncontrolled" this option is obviously not available. But at the same time it must be marked as "Uncontrolled" at the beginning of the mission to avoid them being active and fly away.
I don't know anything about scripting in DCS and I couldn't find a way of set Uncontrolled to false in the middle of the mission. Normally that means that it can't be done, but I thought of asking here before giving up.
Posted Jan 15, 2020, 12:46 PM UTC
I can't recall the exact details, but you can activate ai that are 'uncontrolled' in game with triggers. You've gotta give them the task start() (on the unit properties somewhere) and then use AI push task trigger, select that start() and it'l switch the ai on.