Projectile Speed?

hunterrravyn

TH.net Regular
Reaction score
19
Okay so my unit has a trigger that is activated when it attacks,im looking to put a wait which is, uhhh well how long it takes damage to happen (i think thats what i mean). Does this depend on ranged projectile speed?

Sincerly Hunterrravyn
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
You can't just detect with triggers the speed of the projectile, unless you test it and find out how much it takes to travel. Unless you make a timer and make it start when unit successfully attacks (meaining it doesn't miss) and ends when the attacked unit takes damage, the only other thing you can do is to make a dummy projectile, which is a unit with the projectile's model.
 

Kiddo

New Member
Reaction score
12
Okay so my unit has a trigger that is activated when it attacks,im looking to put a wait which is, uhhh well how long it takes damage to happen (i think thats what i mean). Does this depend on ranged projectile speed?

Sincerly Hunterrravyn

It depends on both projectile speed and range from which attack occurs ehh? :p

Try:
Code:
Testing
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) has buff <Buff>) Equal to True
    Actions
        Your actions here

Try to add a buff to that certain ability, hero w/e .. and it might work. Can't find the exact code for a better solution right now.

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