Ability vs Trigger Range

Bogrim

y hello thar
Reaction score
154
I'm toying with a trigger that causes x amount of damage to units in 300.00 range of temp_point (target point of ability being cast), while creating a dummy unit with an aura with the same exact range. The dummy unit has no collusion size and has flying movement to avoid it being misplaced by any terrain obstacles.

The thing is, the trigger range isn't as large as the ability range even though they're set to identical values. The aura applies to more units on the edge of the ability than the damage is applied to.

What is the difference in range between abilities and trigger actions?
 

Avaleirra

Is back. Probably.
Reaction score
128
Depends on the spell. If you were using something like Finger of death it would be the same. But if you were using something like blizzard in triggers target point of ability being cast would be the center of the AOE where as the ability would be the point + the radius.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
What is the difference in range between abilities and trigger actions?
Abilities consider any unit whose collision size extends within that range. Triggered distance only considers the distance to the unit's center point.

With some JASS (custom script), you can get whether a unit is in range the same way abilities check it, by grouping units in a larger radius and using that function to test whether they're within the actual range you want.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top