How to Copy a Landing Ship Including Its Onboard Units?

All discussions & material related to Command's Lua interface

Moderators: angster, RoryAndersonCDT, michaelm75au, MOD_Command

Post Reply
hanzawa1991
Posts: 74
Joined: Tue Apr 05, 2022 9:05 am

How to Copy a Landing Ship Including Its Onboard Units?

Post by hanzawa1991 »

In my scenario, there is a landing ship that has other ready-to-use units onboard, such as ships and helicopters. I want to copy this unit, especially including the usable units it carries.

When I use the built-in unit copy shortcut key C in CMO, it only copies the landing ship itself and not the carried ships or aircraft (which are all loaded as cargo). Is there any LUA script or other operation that can solve this problem and allow me to copy the landing ship along with all its onboard units?
thewood1
Posts: 10280
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: How to Copy a Landing Ship Including Its Onboard Units?

Post by thewood1 »

Does clone work better?

You could also build the unit and export/import I think.
User avatar
blu3s
Posts: 1240
Joined: Fri Jul 08, 2022 9:45 am

Re: How to Copy a Landing Ship Including Its Onboard Units?

Post by blu3s »

Shift + C to clone an unit should work
hanzawa1991
Posts: 74
Joined: Tue Apr 05, 2022 9:05 am

Re: How to Copy a Landing Ship Including Its Onboard Units?

Post by hanzawa1991 »

blu3s wrote: Tue Oct 15, 2024 5:45 am Shift + C to clone an unit should work
THX!!
Post Reply

Return to “Lua Legion”