MarshallsGilberts Raid: "missing_unit" Half Strength Bug
Posted: Thu Jan 04, 2018 8:57 pm
One of our forum members reported this bug when he began the Marshalls-Gilberts Raid scenario in U.S. Pacific:
All units start at half strength bug?
It is a definite issue, as I confirmed with the scenario editor. Notice all of the units on the scenario editor map are at strength 10. As a test, I placed a PT boat of my own as well:
But when the scenario is started, all units are at strength 5, including my PT boat and including the enemy:
Plus there is that strange message which may be due to the aircraft carrier being at half-strength and therefore half-supply? Anyway, I found what I believe is the cause. At some time, apparently there was an intention to weaken certain units on the map with this Setup trigger at Scenario Start:
Note where I boxed something called "missing_unit" and below it the effect of Strength 5. I am only guessing but somehow, perhaps when this campaign was redone with the new campaign editor or maybe it was just inadvertently altered with the scenario editor, the units to which these several effects were linked were deleted and this value was automatically substituted. A further guess is that "missing_unit" is now applying strength 5 to ALL units in the scenario, American and Japanese.
The reason why I am saying this is that when I removed the four "missing_unit" effects from this trigger, leaving the five others that were all linked to Japanese units to reduce their strengths, the scenario started fine - all units at full strength - and the strange message was gone:
All units start at half strength bug?
It is a definite issue, as I confirmed with the scenario editor. Notice all of the units on the scenario editor map are at strength 10. As a test, I placed a PT boat of my own as well:
But when the scenario is started, all units are at strength 5, including my PT boat and including the enemy:
Plus there is that strange message which may be due to the aircraft carrier being at half-strength and therefore half-supply? Anyway, I found what I believe is the cause. At some time, apparently there was an intention to weaken certain units on the map with this Setup trigger at Scenario Start:
Note where I boxed something called "missing_unit" and below it the effect of Strength 5. I am only guessing but somehow, perhaps when this campaign was redone with the new campaign editor or maybe it was just inadvertently altered with the scenario editor, the units to which these several effects were linked were deleted and this value was automatically substituted. A further guess is that "missing_unit" is now applying strength 5 to ALL units in the scenario, American and Japanese.
The reason why I am saying this is that when I removed the four "missing_unit" effects from this trigger, leaving the five others that were all linked to Japanese units to reduce their strengths, the scenario started fine - all units at full strength - and the strange message was gone: