air intercept help

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
orca
Posts: 545
Joined: Wed Nov 06, 2013 4:59 pm

air intercept help

Post by orca »

I want to change the "maximum # of flights allowed to fly mission" for an air intercept mission with LUA but can't figure out the script. Does anyone know how?
Thanks
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: air intercept help

Post by KnightHawk75 »

local m = ScenEdit_SetMission('MySide','MyMissionNameorGuid',{strikeMax=5}) --sets to 6

valid values I believe are 0-7 representing index in the gui. 0=no pref, 1=1,2=2,3=3,4=4,5=6,6=8, 7=12

http://commandlua.github.io/#table_StrikeMission

Post Reply

Return to “Lua Legion”