Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

<Moved>Adding all Loadouts to Airport

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> <Moved>Adding all Loadouts to Airport Page: [1]
Login
Message << Older Topic   Newer Topic >>
<Moved>Adding all Loadouts to Airport - 5/14/2019 5:07:17 PM   
obrien979

 

Posts: 29
Joined: 5/18/2018
Status: offline
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

< Message edited by obrien979 -- 5/15/2019 4:14:55 PM >


_____________________________

BOB
Post #: 1
RE: Adding all Loadouts to Airport - 5/14/2019 6:47:03 PM   
Ancalagon451

 

Posts: 330
Joined: 1/4/2018
Status: offline
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

(in reply to obrien979)
Post #: 2
RE: Adding all Loadouts to Airport - 5/15/2019 4:14:35 PM   
obrien979

 

Posts: 29
Joined: 5/18/2018
Status: offline
Thanks will do that

_____________________________

BOB

(in reply to Ancalagon451)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> <Moved>Adding all Loadouts to Airport Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.953