Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
November 27, 2024, 01:19:55 am
News:
If you can't login, please
contact us
with your username and e-mail so we can fix it.
Home
Help
Search
Calendar
Login
Register
OpenXcom Forum
»
Modding
»
Help
»
[solved] missionScripts: maxDifficulty
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [solved] missionScripts: maxDifficulty (Read 2662 times)
Varana
Captain
Posts: 52
[solved] missionScripts: maxDifficulty
«
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?
«
Last Edit: July 21, 2018, 01:10:02 pm by Varana
»
Logged
Amoebka
Colonel
Posts: 120
Re: missionScripts: maxDifficulty
«
Reply #1 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.
Logged
Varana
Captain
Posts: 52
Re: missionScripts: maxDifficulty
«
Reply #2 on:
July 21, 2018, 12:53:07 pm »
Sounds good, I will try. Thx.
edit: Yeah, seems to work.
«
Last Edit: July 21, 2018, 01:09:37 pm by Varana
»
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
OpenXcom Forum
»
Modding
»
Help
»
[solved] missionScripts: maxDifficulty