Proper syntax SE_AddMission?
Posted: Sat May 21, 2022 3:21 pm
so I am try to create a strike mission with Lua. I use the following code
I have tried using quotes and not using quotes. I have tried using flight numbers (i.e. "3" for three flights) and actual numbers (i.e. "6" for six aircraft). The mission is created successfully but it does so with the mission defaults instead of the numbers I am trying to feed it. Obviously I am getting the syntax wrong here. Any suggestions?
Code: Select all
ScenEdit_AddMission('NATO', 'Bodo 8-6', 'Strike', {type='land', EscortFlightSizeShooter=2, EscortMinShooter=4, EscortMaxShooter=8, EscortResponseRadius=50, EscortUseFlightSize=true, StrikeFlightSize=3, StrikeMinAircraftReq=6, StrikeUseFlightSize=true} )