So I have an ability called "TakeEnergy", which is self-explanitory. It takes 10 energy from the target and transfers it to the caster. (Actually, it costs -10 energy to cast, and drains 10 energy from the target). Anyways, when I cast it from a unit, it works perfectly fine, but when I cast it from a building, it just sits there with the button lit up, as if its trying to cast, but doesn't actually do anything. Can anyone explain to me why the building can't use the ability?
Map Attached. The zealot and the pylon have the ability, use it on the high templar.
The pylon can't cast it because it can't turn to face the templar. Change the "Ability - Arc" attribute on your TakeEnergy ability from 0 to 360 - then it won't have to turn (tested and works).
Funnily enough, the pylon will cast it on your original map if you give it the command, then walk the templar past the bottom of the pylon, as the building is considered to be facing south.
So I have an ability called "TakeEnergy", which is self-explanitory. It takes 10 energy from the target and transfers it to the caster. (Actually, it costs -10 energy to cast, and drains 10 energy from the target). Anyways, when I cast it from a unit, it works perfectly fine, but when I cast it from a building, it just sits there with the button lit up, as if its trying to cast, but doesn't actually do anything. Can anyone explain to me why the building can't use the ability?
Map Attached. The zealot and the pylon have the ability, use it on the high templar.
Thanks! KrayzBlu
@KrayzBlu: Go
The pylon can't cast it because it can't turn to face the templar. Change the "Ability - Arc" attribute on your TakeEnergy ability from 0 to 360 - then it won't have to turn (tested and works).
Funnily enough, the pylon will cast it on your original map if you give it the command, then walk the templar past the bottom of the pylon, as the building is considered to be facing south.
@iprefermuffins: Go
Awesome, thanks