I did some searching around the forum and I found a threat that lead to a link to a map where some guy managed to create a shield system nearly identical to the Protoss shields from Starcraft. The map is attatched.
I've figured out how to implement the system into my own map, which was easy enough, but my very basic knowledge of JASS is preventing me from doing some things:
1. Give the self shield buff to a unit upon creation. (I know how to edit the shield stats depending on which unit is made, I just don't know how to give it to a created unit)
2. I want to make a Shield Battery structure that is able to fully regenerate shields within an AoE, at the cost of some of the structure's mana. I do not how to program this either.
3. Lastly, I need an EMP skill that will completely destroy (not permanently, just reduce shield level to 0, it can still regenerate afterwards) units' shields within an AoE at the cost of some mana.
Thanks in advance.
I've figured out how to implement the system into my own map, which was easy enough, but my very basic knowledge of JASS is preventing me from doing some things:
1. Give the self shield buff to a unit upon creation. (I know how to edit the shield stats depending on which unit is made, I just don't know how to give it to a created unit)
2. I want to make a Shield Battery structure that is able to fully regenerate shields within an AoE, at the cost of some of the structure's mana. I do not how to program this either.
3. Lastly, I need an EMP skill that will completely destroy (not permanently, just reduce shield level to 0, it can still regenerate afterwards) units' shields within an AoE at the cost of some mana.
Thanks in advance.