<Moved>Adding all Loadouts to Airport (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series



Message


obrien979 -> <Moved>Adding all Loadouts to Airport (5/14/2019 5:07:17 PM)

As the title suggests, looking for guidance on weather or not it is feasible (or doable) to create a LUA script that can add a set amount of each loadout that an aircraft, which is assigned to that base, is designed for. I know there is this lua command:
ScenEdit_FillMagsForLoadout({unit="Abha", loadoutid=45162, quantity=12})

I am wondering if it is possible to have this code repeat and fill in the loadoutid based on the specified aircraft.

Thank You




Ancalagon451 -> RE: Adding all Loadouts to Airport (5/14/2019 6:47:03 PM)

Better put this question in the Lua Legion subforum here.

Will be noted earlier by the Lua gurus in the forum (I'm not one of them so I cannot help you, sorry).

Ancalagon




obrien979 -> RE: Adding all Loadouts to Airport (5/15/2019 4:14:35 PM)

Thanks will do that




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.9375