<Moved>Adding all Loadouts to Airport

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Post Reply
obrien979
Posts: 33
Joined: Fri May 18, 2018 2:10 pm
Location: Germany

<Moved>Adding all Loadouts to Airport

Post 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
V/R,
Brandon "OB" OBrien
Ancalagon451
Posts: 330
Joined: Thu Jan 04, 2018 9:04 am

RE: Adding all Loadouts to Airport

Post 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
obrien979
Posts: 33
Joined: Fri May 18, 2018 2:10 pm
Location: Germany

RE: Adding all Loadouts to Airport

Post by obrien979 »

Thanks will do that
V/R,
Brandon "OB" OBrien
Post Reply

Return to “Command: Modern Operations series”