OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: Kronos913 on July 13, 2024, 10:11:51 pm

Title: Please help me create a mission-event
Post by: Kronos913 on July 13, 2024, 10:11:51 pm
I'm trying to figure out how to create my own mission event, but nothing is clear yet. I look at other fashions - it’s also unclear.

Please help me create a simple test mission, and then I’ll experiment with a working example myself

Let's say a mission that appears on a regular "farm" map, there will be 3 sectoid soldiers with plasma pistols and 2 civilians. And the mission will appear 1 time on the 14th day of the game
Title: Re: Please help me create a mission-event
Post by: Juku121 on July 14, 2024, 09:42:56 am
Here. As a submod for UFO/xcom1.
Title: Re: Please help me create a mission-event
Post by: Kronos913 on July 16, 2024, 11:41:24 pm
Thanks
Title: Re: Please help me create a mission-event
Post by: Kronos913 on July 23, 2024, 10:29:13 pm
How can I make these missions stop appearing after some research? Or will they begin to appear after the study?
Title: Re: Please help me create a mission-event
Post by: Solarius Scorch on July 23, 2024, 10:40:17 pm
How can I make these missions stop appearing after some research?

Code: [Select]
missionScripts:
  - type: yourMission
    researchTriggers:
      STR_YOUR_RESEARCH: false

Or will they begin to appear after the study?

Code: [Select]
missionScripts:
  - type: yourMission
    researchTriggers:
      STR_YOUR_RESEARCH: true