Author Topic: Non-UFO Alien Retaliation - How are races set? [SOLVED]  (Read 2515 times)

Offline robin

  • Commander
  • *****
  • Posts: 1225
  • ULTIMATE ROOKIE
    • View Profile
Non-UFO Alien Retaliation - How are races set? [SOLVED]
« on: October 17, 2015, 03:26:59 pm »
from alienMissions:

  - type: STR_ALIEN_RETALIATION
    points: 0
    raceWeights: {} #Special case, race comes from trigger UFO.

But what about the fixed (as in: not triggered by UFO shotdown) alien retaliation missions that are set up in missionScripts?
I have the chance for alien retaliation in my missionScripts loop, but when it is selected it picks among the vanilla races, which are "deleted" in my mod. The result is of course a crash.
Should I list the races for fixed retaliation under raceWeights like for other missions?


Was looking at obsolete stuff. Question Solved.
« Last Edit: October 17, 2015, 03:30:05 pm by robin »