I have a detonate ability, that kills the unit when used, but if I select a group of units with it and use it once, they all die. How can I change it so that it kills one unit per click/hotkey press? It's a simple instant effect ability.
Anyway to further change it so that it only works once per a key press, and not rapidly if you hit it once and keep holding the key? Currently if you hold the hotkey down it rapid fires. Needs to be more manual than that.
This can't be done in the data editor, since there's nothing for it to distinguish between a keypress and a held key for a button hotkey. What you could do, if you really wanted this done, is use triggers to accomplish it. Have a key pressed trigger that issues an order for a random unit in currently selected unit group whose ability isn't on cooldown to cast the spell, of course removing the hotkey for the actual ability itself.
This can't be done in the data editor, since there's nothing for it to distinguish between a keypress and a held key for a button hotkey. What you could do, if you really wanted this done, is use triggers to accomplish it. Have a key pressed trigger that issues an order for a random unit in currently selected unit group whose ability isn't on cooldown to cast the spell, of course removing the hotkey for the actual ability itself.
I'll try it in the morning/after school. There's a lot of things in this editor that are really odd as to why blizzard has done it the way they've done it...
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a detonate ability, that kills the unit when used, but if I select a group of units with it and use it once, they all die. How can I change it so that it kills one unit per click/hotkey press? It's a simple instant effect ability.
Mark the "Best Unit" flag in the ability stats.
>.> I knew there would be a simple answer to a question like this. Thanks...
@ST4RKiLL3R: Go
Anyway to further change it so that it only works once per a key press, and not rapidly if you hit it once and keep holding the key? Currently if you hold the hotkey down it rapid fires. Needs to be more manual than that.
This can't be done in the data editor, since there's nothing for it to distinguish between a keypress and a held key for a button hotkey. What you could do, if you really wanted this done, is use triggers to accomplish it. Have a key pressed trigger that issues an order for a random unit in currently selected unit group whose ability isn't on cooldown to cast the spell, of course removing the hotkey for the actual ability itself.
I'll try it in the morning/after school. There's a lot of things in this editor that are really odd as to why blizzard has done it the way they've done it...