.

keychup

Active Member
Reaction score
34
No, but you can calculate the time in between attacks if you like and use the unit a/s (attacks per second).

For example, if attack time is every 2.20 seconds you can say he attacks with 0.45 a/s.

You can calculate the attack time by using the following actions:
"A unit is Attacked".
Set REAL = Load REAL in Hashtable with key Attacking Unit
Set REAL = 1/REAL
Display Text Message: Concentrate Strongs ((Convert REAL to String) + Attacks per second)
Set REAL = 0
Hashtable: Save Real Handle with key Attacking Unit
Add ATTACKER Unit Group ATTACKINGGROUP

"Time - Every 0.10 seconds"
Pick every unit in ATTACKINGGROUP
Set REAL = Load REAL in Hashtable with key Picked Unit
If REAL is Greater than or equal to 5
Then Set REAL = REAL+0.10
------Remove Picked unit from ATTACKINGGROUP
Else Set REAL = 0.00
Hashtable: Save Real Handle with key Picked Unit
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top