Page 1 of 1
Is there a problem with SE_AddMission in 1.05?
Posted: Tue Feb 07, 2023 11:21 pm
by vonotha
I've created manually an Intercept mission (name='Falklands Intercept'), and tried to create an identical mission with SE_AddMission. In order to follow the in-game structure, I've extracted the original mission data.
I'm getting a 'missing mission sub-type' error when I try to use SE_AddMission. What am I doing wrong?
I've tried both 'Air_Intercept' and 'Air Intercept' as a mission sub-type.

- addmission.jpg (60.36 KiB) Viewed 391 times
Re: Is there a problem with SE_AddMission in 1.05?
Posted: Wed Feb 08, 2023 8:05 am
by blu3s
As indicated
here the keyword for Air Strike is 'air'
Re: Is there a problem with SE_AddMission in 1.05?
Posted: Thu Feb 09, 2023 11:37 am
by vonotha
blu3s wrote: Wed Feb 08, 2023 8:05 am
As indicated
here the keyword for Air Strike is 'air'
Code: Select all
ScenEdit_AddMission('NATO', 'Falklands Intercept2', 'strike', {type='air'})
This works indeed
'air' was one of (the most obvious

options I did not test for air intercept mission.
Thanks a lot!
Re: Is there a problem with SE_AddMission in 1.05?
Posted: Thu Feb 09, 2023 4:21 pm
by blu3s
vonotha wrote: Thu Feb 09, 2023 11:37 am
blu3s wrote: Wed Feb 08, 2023 8:05 am
As indicated
here the keyword for Air Strike is 'air'
Code: Select all
ScenEdit_AddMission('NATO', 'Falklands Intercept2', 'strike', {type='air'})
This works indeed
'air' was one of (the most obvious

options I did not test for air intercept mission.
Thanks a lot!
It usually happens that we look for more complicated words hahah

Re: Is there a problem with SE_AddMission in 1.05?
Posted: Thu Feb 09, 2023 9:51 pm
by vonotha
blu3s wrote: Thu Feb 09, 2023 4:21 pm
vonotha wrote: Thu Feb 09, 2023 11:37 am
blu3s wrote: Wed Feb 08, 2023 8:05 am
As indicated
here the keyword for Air Strike is 'air'
Code: Select all
ScenEdit_AddMission('NATO', 'Falklands Intercept2', 'strike', {type='air'})
This works indeed
'air' was one of (the most obvious

options I did not test for air intercept mission.
Thanks a lot!
It usually happens that we look for more complicated words hahah
Yeap. And I DID read the documentation before.
AIR [, AAW, Air_Intercept ] was just a bit unclear.