Go to menu File > Test Document. The game cannot load the map! An error message occurs.
Add another event to the trigger:
Timer-Elapsedtimeis1.0GameTimeseconds
Test the map again and attack the zealots with the brood lord. Error messages occur.
This bug also occurs with "unit takes damage" and other events. The bug occurs with units other than the Brood Lord as well, but this is the most noticeable example of the bug. I think one of the "escorts" for the brood lord has its owner set to player 16, which is an illegal array index for the player array (0-15).
To reproduce the bug:
This bug also occurs with "unit takes damage" and other events. The bug occurs with units other than the Brood Lord as well, but this is the most noticeable example of the bug. I think one of the "escorts" for the brood lord has its owner set to player 16, which is an illegal array index for the player array (0-15).
Workarounds
Use the "Within Bounds" function to check the owner of a dying or damaged units is within the range 0-15. Notice the built-in within bounds function is also bugged, however, so use a fixed version.