I am making a map. In this map I have a photon cannon that is constantly enabled by a trigger and some zerglings that are created around the cannon every second or so. This does not work quite the way it should. Every time a zergling is created the trigger enabling the cannon screws up thus the cannon is no longer enabled. I need to know why this happens and how it can be avoided. Thank you.
The way I understand it when a unit is created the effect of the enabled cannon goes away.
So make your trigger Create the Zergling THEN enable the cannon. That might work. You could also combine it with a method of precreating zerglings do you don't have to do it as often.
Like create 50 zerglings for a comp off to the side. Then instead of creating new ones at the cannons give them to a differant player and move them. When you used up the 50 create 50 more, this way it wouldn't mess up as much.
If neither of those things don't help, i don't know what to tell you.
Thanks i'll try that. Anyone know why creating units does this?
My only guess is that it refreshes some part of Starcraft that Enables or Disables Protoss buildings based off of the creation or destruction of units.