| 04-23-2006, 05:14 PM | #1 |
How can I reset the attack cooldown of a unit? I want it so that I can order a unit to attack someone and have it do so immediately. If it just finished attacking when I give the order, it sits around and waits for a second or so before following my attack order. I've tried resetting the unit's animation, pausing and unpausing, moving the unit... Nothing works. Ideas anyone? |
| 04-23-2006, 05:34 PM | #2 |
My gut feeling says that you can't do this, but you could try disable/enable attack. Sorry I couldn't be more helpful :) |
| 04-23-2006, 05:34 PM | #3 |
At best you could give it an ability (based on the one from Gloves of Haste) which gives it 99999% increased attack speed. It won't be absolutely instant, but it'll be very close. (Be sure to remove the ability very quickly or it could end up attacking multiple times, very, very fast). |
| 04-23-2006, 05:58 PM | #4 |
It won't attack faster than it's damage point setting no matter if you give it infinite % increase though. |
| 04-23-2006, 08:53 PM | #5 |
have you tried chaosing itself, in theory that might work |
| 04-24-2006, 04:54 AM | #6 |
I thought of chaosing it to itself, but I'm pretty concerned about the side-effects. I don't really want to introduce these into a JESP spell. The reason I wanted it is for my Vengeful Curse spell. It works amazingly on idle units, but when you do it in a battle they pause between transferring it because they're cooling down from attacking. I think what I'll do instead is when a unit goes to transfer the curse to another unit, it will make the target sit and wait, so it's attack will be free when it gets the curse. This should speed it up quite a bit. |
| 05-18-2006, 09:36 PM | #7 |
Did you try creating a dummy unit? I mean, disabling your guys attack and just play his attack animation? The dummy unit would have the same stats and what not as your hero. When the unit attacks and deals damage, just remove him and reenable attack?... Hehe, I dunno. |
| 05-18-2006, 09:42 PM | #8 | |
Old thread. Don't revive please. Thank you. Quote:
|
| 05-18-2006, 09:53 PM | #9 |
I didn't know this was an old thread, sorry. Saw it on the top of the list in forum index. |
