Skip to main content

Aggro Drawer

Shows which enemy is attacking your hero or allies, even if the attacker has left your vision.


Visual (ะ’ะธะทัƒะฐะปั‹)  โ†’  Aggro drawer

What it doesโ€‹

The script tracks aggro (attacks) from enemy units on your hero and allies. An icon of the attacking hero appears next to the health bar of the unit being attacked.

Display logicโ€‹

  • The icon is shown next to the health bar of the target (the one being attacked), not the attacker.
  • The icon appears as soon as an enemy starts attacking and disappears after the configured display time elapses (the Time to show setting).
  • If the attacker is visible, the icon is shown as usual. If the attacker is not visible (gone invisible or into the fog of war), a pulsing circle of the selected color appears over the icon (the Ping color setting). The pulsing lasts until the number of pulses is exhausted (6 expand/contract cycles).
  • The script stops working after the match ends (PostGame).
  • If the Disable after N minutes limit is set (greater than 0), the script automatically turns off after the specified number of in-game minutes.

Aggro tracking modesโ€‹

Selected via AggroMode:

  • Always โ€” the game event dota_hero_on_gain_aggro is tracked (aggro changes when the target switches).
  • By attack distance โ€” the attack-animation start event (AttackStarted) is tracked, i.e. it reacts at the moment the attack actually begins.

Sound notificationโ€‹

If the attacker is invisible and your hero is attacked, the script plays the selected sound (no more often than once every 2 seconds).


Settingsโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables/disables the script entirely.
On alliesToggleOffShow aggro not only on your hero, but also on allied heroes.
AggroModeDropdownAlwaysMethod of tracking aggro: Always โ€” by target-switch event; By attack distance โ€” by the start of the attack animation.
Time to show secondsSlider3How many seconds the attacker's icon is shown after the last attack. Range: 1โ€“5.
Disable after N minutesSlider0Automatically turns off the script after the specified number of in-game minutes. 0 โ€” do not turn off. Range: 0โ€“120.
Ping colorColor pickerRedColor of the pulsing circle that appears next to the icon when the attacker is invisible.
SoundDropdownDisableSound played when an invisible enemy attacks your hero. 14 sound options and disable are available.
Play soundButtonโ€”Plays the selected sound for preview.