aliens

Author Topic: [solved] missionScripts: maxDifficulty  (Read 2657 times)

Offline Varana

  • Captain
  • ***
  • Posts: 52
    • View Profile
[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 »

Offline Amoebka

  • Colonel
  • ****
  • Posts: 120
    • View Profile
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.

Offline Varana

  • Captain
  • ***
  • Posts: 52
    • View Profile
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 »