So I'm trying to give a building the ability to cloak (using the Motherships cloaking field), I've done all the abilities and requirements, even altered the cloaking so that it doesn't only work for Motherships, and yet.. it doesn't work.
Nothing I do seems to allow me to give, say something like a pylon, the power to cloak things. I also want to tie it into a research which I added to the Forge, made my own custom icon and everything, but again it doesn't seem to list it as a requirement and researching it at the forge does nothing to make it work.
I assume you want an active cloaking ability. Like, press button -> cloak stuff.
The easiest way to do this would be an Instant Effect ability tied to an Apply Behavior. Use the ability to call a (new) Apply Behavior which applies the Mothership's cloaking field behavior to the Pylon.
As for the requirement, that should also be pretty easy. Define a new upgrade which does nothing, and a requirement which detects that upgrade (through Count Upgrade), and set it as the requirement for the previously-created Instant ability.
If this doesn't work for any reason, send me your map and I'll take a look.
So I'm trying to give a building the ability to cloak (using the Motherships cloaking field), I've done all the abilities and requirements, even altered the cloaking so that it doesn't only work for Motherships, and yet.. it doesn't work.
Nothing I do seems to allow me to give, say something like a pylon, the power to cloak things. I also want to tie it into a research which I added to the Forge, made my own custom icon and everything, but again it doesn't seem to list it as a requirement and researching it at the forge does nothing to make it work.
Anyone able to help?
You'd be better off asking at staredit.netor checking out this wiki http://www.staredit.net/starcraft2/Abilities
I assume you want an active cloaking ability. Like, press button -> cloak stuff.
The easiest way to do this would be an Instant Effect ability tied to an Apply Behavior. Use the ability to call a (new) Apply Behavior which applies the Mothership's cloaking field behavior to the Pylon.
As for the requirement, that should also be pretty easy. Define a new upgrade which does nothing, and a requirement which detects that upgrade (through Count Upgrade), and set it as the requirement for the previously-created Instant ability.
If this doesn't work for any reason, send me your map and I'll take a look.