• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Is it possible to reset cooldoow for used item?

Status
Not open for further replies.
Level 14
Joined
Mar 4, 2009
Messages
1,156
1.)
when i tried just to remove and add ability of item it didn't work too

so is there any way that when unit uses and item i can reset the cooldown of item?

EDIT: I ONLY WANT TO RESET COOLDOWN OF ITEM
 
Last edited:
Level 18
Joined
Jan 21, 2006
Messages
2,552
The only function that allows a cooldown to be reset is native UnitResetCooldown takes unit whichUnit returns nothing. This resets every ability's cooldown for the specific unit.
 
Level 2
Joined
Mar 9, 2009
Messages
21
There is no way to reset the cooldown of an item. Even removing / adding a new item won't work.

Well, you could make two different items, remove the first when it has cooldown and add the second. But I doubt that this helps you ..
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
it is good that i must stop cooldown of item as soon as possible

(like when unit start casting an ability)

so i will change the name of ability that my item is using to name "1"
than my other ability of other item to name "2" and so on...

than i will stop unit if he is not allowed to cast abilities with name 2

ok so i don't need the first this anymore

BTW...



dos anyone know how to get item from string ?

so if your item/unit/ability or whatever is called H00M is it possible to create item (with code) H00M knowing it from string?
 
Last edited:
Level 2
Joined
Mar 9, 2009
Messages
21
Err ... me neither @ Berbanog.

[...]

dos anyone know how to get item from string ?

so if your item/unit/ability or whatever is called H00M is it possible to create item (with code) H00M knowing it from string?

Do you want to store an items name in a string? Or do you want to create an item with triggers or what?
Please explain it once again.
 
Status
Not open for further replies.
Top