Creating Wings/Groups/Squadrons (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion



Message


obrien979 -> Creating Wings/Groups/Squadrons (8/18/2019 12:44:40 PM)

IS there a way to create Fighter Wings, that resemble USAF Fight Wings, at bases using LUA? I have tried using:
for i=1,15 do ScenEdit_AddUnit({type = 'Aircraft', name = 'TaktLwG 33 #'..i, dbid = 395, loadoutid = 9183, side = 'Germany', base = 'Buchel Air Base', group = "21st FW", proficiency=4})end

but just creates the Aircraft at the base and doesn't create a group.

Thanks





Whicker -> RE: Creating Wings/Groups/Squadrons (8/18/2019 10:21:51 PM)

i don't think you can control the name of the group that takes off if that is what you are trying to do. All you can do is create them at the base which it sounds like you have done. The AC on a base do not have the concept of a group. If you made them airborne then I think the group would end up being the group name of them in flight.




obrien979 -> RE: Creating Wings/Groups/Squadrons (8/19/2019 9:18:57 AM)

I am already tracking that I can rename a group once ts launched. I am looking for a way to, for example, create the 21st Fighter Wing consisting of 3 seperate squadrons each with its own name and a set of aircraft. I would like to see this laid out in a organized manner in the Order of Battle screen.

Something similar to this:

21st Fighter Wing (NAS Forrest)
123 Fighter Squadron
F-16#1
F-16#2
F-16#3+
246 Fighter Squadron
F-16#1
F-16#2
F-16#3
357 Fighter Squadron
F-16#1
F-16#2
F-16#3

Thank You




michaelm75au -> RE: Creating Wings/Groups/Squadrons (8/22/2019 11:57:14 PM)


I would try naming the a/c such as
21st FW/123 FS #1
21st FW/123 FS #2
21st FW/123 FS #3
21st FW/246 FS #1
21st FW/246 FS #2
21st FW/246 FS #3
...




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.125