Page 1 of 1

<Moved>Adding all Loadouts to Airport

Posted: Tue May 14, 2019 2:07 pm
by obrien979
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:

Code: Select all

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

RE: Adding all Loadouts to Airport

Posted: Tue May 14, 2019 3:47 pm
by Ancalagon451
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

RE: Adding all Loadouts to Airport

Posted: Wed May 15, 2019 1:14 pm
by obrien979
Thanks will do that