Page 1 of 1

LUA Command to Create or Update Flightplans?

Posted: Tue Mar 07, 2023 12:21 am
by tmoilanen
Hello...

Is there a LUA command that performs the action(s) of the "Create or Update FlightPlan" button.

In the attached scenario the aircraft assigned to the Strike Mission will not launch, presumably because there is a No-Navigation Zone between their air base and the target. If I click on the "Create or Update Flightplan" button they will eventually launch.

Example scenario is attached below.

Thanks in advance for any help!

Re: LUA Command to Create or Update Flightplans?

Posted: Tue Mar 07, 2023 2:54 am
by michaelm75au
That is on my to do list.

And it probably won't cover every possible thing on the UI. It will be a work-in-progress sort of thing. :D

Re: LUA Command to Create or Update Flightplans?

Posted: Sat Jun 10, 2023 10:48 pm
by tiag
Hi Michael,

I would also be very interested on that! I am particularly interested on:

set "Create or Update flightplans"
set "Use Flightplans"
set "Use pre-generated..."

and, if possible, to set edit the properties of the waypoints. That would allow tons of automatization via LUA.