Add a Aircraft loadouts to base (Full Version)

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



Message


obrien979 -> Add a Aircraft loadouts to base (5/15/2019 4:13:52 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




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.609375