Hey, so I've given a building the ability to train units, heal units and attack. However, when training units it grays out the attack button. It will continue to heal units while training, but the building will NOT attack while either training, or healing other units. How can I make all of these abilities work at once?
not sure and since no1 knows i try my best. i think it is not possible without a workaround. give the unit an periodic buff that does have he same effect chain as your attack but with a search effect infront.
@Likai31197: Go
Make a Periodic Buff which does negation between enemy and ally with a switch, If the Building detects the Enemy, switch Buff to Attack, else use Buff to heal. Its actually a Buff Validation which does the switch. :) good luck.
In WC3's dota(which was awesome during its days)
the Fountain has a Periodic Search Behavior which does Negation between 2 elements.
1 the ally.
2 the enemy.
now using a validation(SC2 validation from data modules) which has something to do with the switching effect.
the Fountain's response negates to either Healing or Damaging nearby units within its radius.
in wc3 dota fountain just had weapon... there was no periodic effects in wc3 engine (at least available for users). Anyway i don't see how this may connect to the author's question...
Hey, so I've given a building the ability to train units, heal units and attack. However, when training units it grays out the attack button. It will continue to heal units while training, but the building will NOT attack while either training, or healing other units. How can I make all of these abilities work at once?
Bump.
@Likai31197: Go
not sure and since no1 knows i try my best. i think it is not possible without a workaround. give the unit an periodic buff that does have he same effect chain as your attack but with a search effect infront. @Likai31197: Go
@Likai31197: Go
Make a Periodic Buff which does negation between enemy and ally with a switch, If the Building detects the Enemy, switch Buff to Attack, else use Buff to heal. Its actually a Buff Validation which does the switch. :) good luck.
Not sure if that would work but try check transient flag for your abils
@abvdzh: Go
I kinda mimicked IceFrogs fountain structure. (spare time)
or which comment do you mean?
@Reul123: Go
i replied to the author. And what are you asking about? I didn't quite get sentence about the fountain.
@abvdzh: Go
In WC3's dota(which was awesome during its days) the Fountain has a Periodic Search Behavior which does Negation between 2 elements.
1 the ally. 2 the enemy.
now using a validation(SC2 validation from data modules) which has something to do with the switching effect. the Fountain's response negates to either Healing or Damaging nearby units within its radius.
I didnt ask btw, I was paraphrasing something.
idk either if your playing dota itself :)
in wc3 dota fountain just had weapon... there was no periodic effects in wc3 engine (at least available for users). Anyway i don't see how this may connect to the author's question...
@abvdzh: Go
Well I guess they made it plain simple for users of sc2 to use it then, So why not bother test? was just trying to help though :)
Okay then, we spammed the thread already :)
Heya,
The issue is not with your train ability, but with the queue ability.
Use the "passive" queue abilities, eg "Queue (5) (Hangar)".
See the carrier for reference, which is a unit that can train units and attack at the same time.