- Joined
- Jul 10, 2009
- Messages
- 534
Hey folks!
My current map contains a building which lets the player spawn one out of 6 minions once every 20 seconds. Upon choosing a minion, all 6 shall go on cooldown at the same time.
My current method implements this building as a item-shop so that I can easily trigger any unit to buy all 6 items at any time.
This solution works as intended, but causes some minor bugs, which are not relevant here.
I would like now to use abilities instead of items.
That means, I try to let 6 abilities have a shared cooldown.
My tries have been:
Is someone familiar with the third approach? It sounds quite promising
Or what other possibilities do I have to let all abilities go on cooldown?
Any help is appreciated
Best regards!
My current map contains a building which lets the player spawn one out of 6 minions once every 20 seconds. Upon choosing a minion, all 6 shall go on cooldown at the same time.
My current method implements this building as a item-shop so that I can easily trigger any unit to buy all 6 items at any time.
This solution works as intended, but causes some minor bugs, which are not relevant here.
I would like now to use abilities instead of items.
That means, I try to let 6 abilities have a shared cooldown.
My tries have been:
- To let the building use all 6 abilities in a row. I can easily disable ability effects, because they are all triggered. But issueing 6 orders in a row doesn't work, because every order cancels the prior one.
- To let the building use all 6 abilities in a row with zero-time-waits in between. This is better than my first try, because all abilities go on cooldown. But they go on cooldown with delay that adds up to something about a half second between the first and the sixth
(All abilities are based on channel, and have all values set to zero - especially "Follow Through Time" and all duration fields.)
- Add a unit inventory to the building that is able to use items, and then give a rune-like instant-use item to it that uses an ability with the same order id as my desired ability. This method was suggested by cohadar in the wc3c forum here, but I can't get it to work.
Is someone familiar with the third approach? It sounds quite promising
Or what other possibilities do I have to let all abilities go on cooldown?
Any help is appreciated
Best regards!