A/C ferry to another base, then assign to another mission

All discussions & material related to Command's Lua interface

Moderators: michaelm75au, angster, RoryAndersonCDT, MOD_Command

Post Reply
User avatar
AdmiralSteve
Posts: 288
Joined: Mon Mar 28, 2011 2:32 pm
Location: Red Bluff, CA

A/C ferry to another base, then assign to another mission

Post by AdmiralSteve »

Hello again,

I'm wanting to assign A/C to a ferry mission and then once the a/c land at the base to be reassigned to another mission such as an air intercept. How can this be written into a Lua script?

Thanks again for those that help. My Tandy TRS-80 experience in 9th grade does absolutely nothing to help me here.

Steve
“There are no extraordinary men...just extraordinary circumstances that ordinary men are forced to deal with.”
Admiral William Frederick Halsey Jr. 1882-1959

Whicker
Posts: 665
Joined: Tue Jun 19, 2018 9:54 pm

RE: A/C ferry to another base, then assign to another mission

Post by Whicker »

do you have to do the ferry mission in lua or can you set it up manually and then just change the mission in lua?

the hard part is probably how to know when to change the mission - I usually do it at a certain time when I know they will have arrived at the new base.
hasler
Posts: 39
Joined: Mon Jul 31, 2017 8:28 pm

RE: A/C ferry to another base, then assign to another mission

Post by hasler »

I use the remains in trigger with a mission assign lua action.

For instance I have a squadron ferried from the US to Norway. I create an area on a side the player can’t see around the airbase. Then I set a trigger that those aircraft remain in the area for 30 mins to ensure everyone landed. Then I do a mission assignment as my lua action.

I did encounter a weird bug that if you set the ferry to one way the aircraft would not take off on the new mission so set your ferry to continuous.
User avatar
AdmiralSteve
Posts: 288
Joined: Mon Mar 28, 2011 2:32 pm
Location: Red Bluff, CA

RE: A/C ferry to another base, then assign to another mission

Post by AdmiralSteve »

I'll have to give that a shot. Thank you.
“There are no extraordinary men...just extraordinary circumstances that ordinary men are forced to deal with.”
Admiral William Frederick Halsey Jr. 1882-1959

User avatar
Gunner98
Posts: 5969
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: A/C ferry to another base, then assign to another mission

Post by Gunner98 »

I use the remains in trigger with a mission assign lua action.

I've used this in the past, if you're ferrying multiple units i.e. a Squadron be sure to tag the trigger on the last AC in the squadron
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
Post Reply

Return to “Lua Legion”