Skip to main content

Unit Blocker

Automatic creep block: the script controls your hero or controllable units to block a creep wave and delay its arrival at the enemy tower.


Location in the menuโ€‹

Utility (ะฃั‚ะธะปะธั‚ั‹)  โ†’  Unit Blocker

What it doesโ€‹

The script performs a creep block โ€” a technique where your hero (or several controllable units) stands in front of a wave of allied creeps and stops them, delaying the wave's arrival at the enemy tower. While the key is active, the script controls movement on its own: it determines the nearest allied lane creeps and calculates the blocking position.

How it activatesโ€‹

The script activates only while the assigned key is held (or toggled on):

  • Hold key โ€” the block works while the key is held; default key is 4.
  • Turn on / Turn off โ€” the first press enables the mode, the second disables it.

The block won't work if the global State is off.

Block logicโ€‹

  1. The script looks for the nearest allied lane creeps within 500 units of the controlled unit.
  2. It computes the movement direction of the creep group and stands in front of it.
  3. It calculates the movement distance taking into account the unit's speed, the creep's speed and the Sensitivity setting โ€” the higher the sensitivity, the earlier the unit takes the blocking position, but with a larger offset.
  4. If the unit is near the mid tower (close to goodguys_tower1_mid or goodguys_tower2_mid), the script switches to "light block" mode โ€” it simply moves toward the creeps' direction without stopping in front of them.
  5. While there are no creeps nearby, if Go to the best position is enabled, the unit automatically moves to the nearest predefined block position for its team:
    • three positions for Radiant (top, mid, bot);
    • three positions for Dire (top, mid, bot). The positions are shown with particles while the Best position option in the Draw section is enabled.

Visual hintsโ€‹

  • Status around units โ€” shows the current state above each controlled unit: Waiting Creeps, Stopping, Moving to the best position, Less stopping (Tower near).
  • Status around mouse โ€” shows the label CreepBlock: ON near the mouse cursor while the mode is active.

"Best position" particlesโ€‹

The particle markers for block positions appear from the start of the game (after the first 5 seconds) and automatically hide after 300 seconds (5 minutes). They are visible only while the script is enabled and the Draw โ†’ Best position section is active.


Settingsโ€‹

Mainโ€‹

Menu itemTypeDefaultDescription
StateToggleOnMaster switch of the script.
KeyHotkey4Key to activate the creep block.
Key StyleDropdownHold keyWorking mode of the key: Hold key โ€” block while held; Turn on / Turn off โ€” toggle on press.
Go to the best positionToggleOnWhen no creeps are nearby, the unit automatically moves to the nearest predefined block position.
Skip range-creepsToggleOffIgnore ranged creeps when searching for block targets.
SensitivitySlider16Range: 0โ€“35. Affects how far the unit moves ahead of the creep. A higher value โ€” a smaller block, but more precise. The recommended value for most heroes is 16.

Additional settingsโ€‹

Menu itemTypeDefaultDescription
UnitsDropdownLocal HeroWho performs the block: Local Hero โ€” only your hero; Only controllables โ€” only controllable units (no hero); All Controllables โ€” all controllable units, including the hero. Using more than two units on one creep lane is not recommended.
Center CameraToggleOffCenter the camera on the hero while holding the block key (only in Hold key mode and with Local Hero selected).
Number of unitSlider3Range: 1โ€“10. Maximum number of controllable units involved in the block (relevant for "Only controllables" and "All Controllables" modes).

Drawโ€‹

Menu itemTypeDefaultDescription
StateToggleOnEnables/disables all visual elements of the Draw section.
Status around units(or Heroes)ToggleOnShows a text status above each controlled unit (Waiting Creeps, Stopping, etc.).
Status around mouseToggleOffShows the CreepBlock: ON label near the mouse cursor while the mode is active.
Best positionToggleOnDisplays particle markers of optimal creep-block positions on the map. They disappear 5 minutes after the game starts.