LUA Command to Create or Update Flightplans?

All discussions & material related to Command's Lua interface

Moderators: angster, RoryAndersonCDT, michaelm75au, MOD_Command

Post Reply
tmoilanen
Posts: 111
Joined: Wed Oct 19, 2011 4:28 pm

LUA Command to Create or Update Flightplans?

Post 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!
Attachments
Strike Test.zip
(36.07 KiB) Downloaded 7 times
create or update flightplans.PNG
create or update flightplans.PNG (77.23 KiB) Viewed 741 times
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

Re: LUA Command to Create or Update Flightplans?

Post 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
Michael
tiag
Posts: 130
Joined: Thu Jun 21, 2018 8:33 am

Re: LUA Command to Create or Update Flightplans?

Post 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.
Post Reply

Return to “Lua Legion”