• 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.

Detect current Attack Speed

Status
Not open for further replies.
Level 12
Joined
Mar 13, 2012
Messages
1,121
There is no easy way.
The best way depends on your map. You could check for all abilities and buffs on a unit that give attackspeed and then calculate it with their values, for example saved in a hashtable.
 
Level 12
Joined
Oct 16, 2010
Messages
680
I don't think its possible... you have to save every units : Base attack time (BAT)

by manually assigning them to variables is the only way to work with them
and for further attack speed calculations you have to register EVERY IAS(increase attack speed) effect the unit has:/

like if he equips a gloves of haste (it gives 30 IAS) register the amount

that would be hell of a lot work I think and really complicated as a map could use hundrends of different types of units:D
 
Status
Not open for further replies.
Top