Returning an RTB unit to base via Support Mission

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
User avatar
BeirutDude
Posts: 2811
Joined: Sat Apr 27, 2013 9:44 am
Location: Jacksonville, FL, USA

Returning an RTB unit to base via Support Mission

Post by BeirutDude »

Sure this is an easy one for those much better at Lua than I am. Ok, here is my issue, I have a unit "Polar #1" and need it to fly a Great Circle Route around Norway to avoid fighters when it is RTB (RTB at Joker +30% to ensure enough fuel).

Actually, I have another alternative. going to have the unit assigned to the Support Mission to have it start to RTB after it has been on station for three hours. That should be good for an MPA.
"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985

I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Returning an RTB unit to base via Support Mission

Post by KnightHawk75 »

Sounds like you already have a good solution, but I was thinking monitor status for contains 'RTB', + set Not to Ignore plotted course, + waypoints injected via unit.course when the RTB is detected?
Post Reply

Return to “Lua Legion”