• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Cool Down for dummy spell doesn't go off

Status
Not open for further replies.
Level 3
Joined
Jul 2, 2006
Messages
35
  • BlinkStrike
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blink Strike
    • Actions
      • Set TempLoc00 = (Position of (Target unit of ability being cast))
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 50.00 damage of attack type Spells and damage type Normal
      • Unit - Move (Triggering unit) instantly to TempLoc00
      • Unit - Order (Triggering unit) to Attack (Target unit of ability being cast)
      • Custom script: call RemoveLocation(udg_TempLoc00)
After that trigger, the cool down of the dummy spell doesn't go off, how do you make it go off? (i.e. the CD doesn't start, allowing one to spam.)
 
Level 5
Joined
Apr 16, 2005
Messages
153
Its because you are ordering the triggering unit to attack the target before he is completely done casting. Add a wait .2 seconds or so inbetween the "move instantly" and the "order triggering unit to attack" events
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
SIMPLE not starts effect on ability its finishes casting ability cuz it makes spell cut in half of casting so it counts as didnt cast
 
Status
Not open for further replies.
Top