• 🏆 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!

how to remove delay?

Status
Not open for further replies.
Level 5
Joined
Oct 16, 2009
Messages
137
well whenever i cast a spell, lets use hammer for instance. there is a delay in attacking after that ability is cast. a rather large delay to. i can re-target the unit i am attacking and it speeds up the delay a bit but only if i issue the order to attack again

{EDIT}
cuase of what i said above i made a trigger that looks like this
  • Event
    • A unit finishes casting an ability
  • Condition
    • owner of attacking unit is not = to owner of triggering unit
    • owner of attacked unit is not = to owner of triggering unit
  • Action
    • issue order to attack attacking unit
    • issue order to attack attcked unit
now of course this didnt work because the conditions wont let it as i am A. attacking and B being attacked. but if i dont have a condition there and it does work (havent tested yet) then i would randomly attack my own units to right?
 
Last edited by a moderator:
Level 9
Joined
Oct 22, 2006
Messages
599

1st.

You can replace the "Finishes Casting" with "Begins Casting" which will do the triggers actions BEFORE the unit casts the ability.

2nd.

You set the "Casting Animation" of a unit to 0. This value can be found in Object Editor: Cast Point Backswing & Cast Point

HINT: To post triggers in threads just Copy/Paste them By Right-Clicking on the Trigger Name above "Events" and then paste them into [TRIGGER] Paste here [/TRIGGER] Tags.
 
Last edited:
Level 13
Joined
Mar 4, 2009
Messages
1,156
you can remove delay but than you have to make a trigger to do your spell and when unit begins casting an ability- order unit to stop , make trigger that does that what does your spell (damage and effects)

for complete removing you can make (damage and effects) when unit is ordered targeting an object
but that requires a lot more triggering

anyway i think you will need triggers for your problem
 
Status
Not open for further replies.
Top