I have a unit that can use sentry's guardian shield ability and medivac's load/unload ability. It can transport only one unit at time.
If the unit unloads its cargo while sentry's ability is enabled, I would like to disable it. How can I do that through Data?
Another unit of my map has medivac's load/unload ability and can transform into another one. How can I disable, always through Data, the load/unload ability while it's transforming?
1: Disable the Shield or Disable unloading? I'm going to go with Disable Shield. The only thing I can think of off the top of my head, is the Overlord's Generate Creep ability... when you move it stops generating creep even though the ability is still toggled on. It's probably got something to do with a validator Unit Compare Movement(or whatever, something close to this), but for yours, maybe Unit Compare Cargo or Unit Ability.
2: Pretty simple. In your ability tab for the morph ability that your medivac can use, find in the right window
Stats - Flags : : and make sure to check Disable Abilities. I'm pretty sure that's all you need to do to stop it from using anything while morphing.
I have a unit that can use sentry's guardian shield ability and medivac's load/unload ability. It can transport only one unit at time.
If the unit unloads its cargo while sentry's ability is enabled, I would like to disable it. How can I do that through Data?
Another unit of my map has medivac's load/unload ability and can transform into another one. How can I disable, always through Data, the load/unload ability while it's transforming?
@DivinoZarathos: Go