OpenXcom Forum

Modding => Help => Topic started by: Varana on July 20, 2018, 10:48:54 pm

Title: [solved] missionScripts: maxDifficulty
Post by: Varana on July 20, 2018, 10:48:54 pm
In missionScripts I can use minDifficulty for missions that should show up only for advanced players. But how can I script missions to show up only for beginners (some bonus loot to help them)?

I did not find something like maxDifficulty. Is there a workaround for this?
Title: Re: missionScripts: maxDifficulty
Post by: Amoebka on July 21, 2018, 10:47:44 am
You can probably make an empty mission script entry that spawns only on higher difficulties and has a specific label, then add your desired mission script and execute it only if the empty one failed using conditionals.
Title: Re: missionScripts: maxDifficulty
Post by: Varana on July 21, 2018, 12:53:07 pm
Sounds good, I will try. Thx. :)

edit: Yeah, seems to work.