I'm working on a map and in it, I have a place where you're defending your base while your allies destroy a set of rocks blocking your path. The objective is then to defend until they've destroyed it. The thing is though, I can easily make a ton more units and then start destroying the rocks quicker than intended, and I want to find a way to change that.
Is there any way to make a specific unit invulnerable to a certain set of units or even a specific player? I know you can do something like that, as Blizzard actually uses this method for the "The Dig" mission in Wings of Liberty. The Protoss Relic Shrines there can only be destroyed by the Laser Drill, while they are completely invulnerable to me.
Anyone knows how to do that would be a great help to me.
Nevermind! I found a very simple solution to the problem, by simply copy-pasting each of the unit's weapons and allowing them to attack invulnerable units. Then, I went into the Trigger editor and used the "Remove Weapon from Unit" and "Add Weapon to Unit" actions and added their new one. They look exactly alike, so you can't see the difference. :D