I've been trying to make an ability that allows the unit to die for a full mineral refund. I want it to work only under the influence of a pylon. Right now, when you use the ability, it actually works: when you click on the button, you get the unit out of the game and receive the resources, but it just doesnt feel right that you can do it anywhere on the map, so I thought that it would be great if you could only use it under the influence of a pylon or another ground-energy source.
Is there a way to do this without triggers?
I've looked the "Warp gate summon" ability because it looked like it was going to help, but I can't find anywhere that it requires ground-energy.
Is there a way to do this without triggers?
I've looked the "Warp gate summon" ability because it looked like it was going to help, but I can't find anywhere that it requires ground-energy.