Skip to main content

VisibleByEnemy

Flashes a one-time indicator on a unit the moment the enemy spots it. It triggers again only after the unit returns to the fog of war and becomes visible to the enemy once more.


Visual (ะ’ะธะทัƒะฐะปั‹)  โ†’  VisibleByEnemy (ะ˜ะฝะดะธะบะฐั‚ะพั€ ะฒะธะดะธะผะพัั‚ะธ)

What it doesโ€‹

The script tracks the moment a unit enters the enemy's field of view and triggers the indicator once at that moment โ€” a particle effect. This indicates the fact of being spotted, not a continuous "currently visible" marker: while the unit stays within the enemy's vision, the effect is not repeated. After it triggers, the effect plays for the configured show time, then smoothly fades out (opacity decreases through sinusoidal interpolation) and is removed completely. The indicator triggers again only after the unit leaves the enemy's vision (returns to the fog of war) and is spotted again.

Display conditionsโ€‹

  • The indicator is shown only on allied units (enemies and neutrals belonging to the enemy team are ignored).
  • Most unit types are supported: heroes, creeps, buildings, wards, couriers, Roshan, the Tormentor, and ability-specific units (mines, Tombstone, Ice Spire, etc.).
  • Dead units and the fountain are not highlighted.
  • The Wisp spirit is shown only if it is not a neutral; the Beastmaster Bear โ€” only if it is awaiting respawn.

Effect fade-outโ€‹

Once triggered, the indicator stays on the unit for the configured "show time" and then fades out. Opacity decreases by the formula sin(progress * ฯ€/2) * 255, meaning it fades slowly at first, then sharply.

Effect selectionโ€‹

There are 21 available visual effect (particle) options:

#NameColor change support
0Disableโ€” (effect disabled)
1ShivasYes
2OmniknightYes
3ArrowYes
4GlyphYes
5LightningYes
6Energy OrbYes
7PentagonYes
8AxisYes
9Beam JaggedYes
10Beam RainbowYes
11Walnut StatueYes
12Thin ThickYes
13Ring WaveYes
14RadialNo
15BeamNo
16Beam lightNo
17DarkNo
18PurgeNo
19TimerNo
20Text (Visible)Yes

When an effect without color support is selected, the Particle color setting is automatically hidden.


Settingsโ€‹

Mainโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables/disables the script entirely.
Show time (sec)Slider2 secHow long the indicator stays on the unit after it triggers (after the enemy spots the unit). Range: 0.3โ€“5.

General settingsโ€‹

OptionTypeDefaultDescription
Particle effectDropdownGlyph (4)Selects the type of visual effect from 21 options. When "Disable" is selected, the effect is shown on no units.
Particle colorColor pickerAquaColor of the effect. Hidden for effects that do not support recoloring.

Heroesโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables display on heroes.
ClonesToggleOnShow on hero clones.
IllusionToggleOnShow on illusions.
Only selfToggleOffShow only on your hero; all other heroes are ignored.
Particle effectToggleOnAllow display of the particle effect on heroes.

Creepsโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables display on creeps.
Particle effectToggleOffAllow display of the particle effect on creeps.
All creepsToggleOffShow on all creep types. If off, the per-type settings below are active.
LinesToggleOffLane creeps (hidden if "All creeps" is on).
NeutralsToggleOnNeutral creeps.
BoarsToggleOnBeastmaster boars.
HawksToggleOnBeastmaster hawks.
PandasToggleOnBrewmaster spirits.
EidolonsToggleOnNaga Siren eidolons.
SpidersToggleOnBroodmother spiderlings.
ZombiesToggleOffZombies (Undying).
FamiliarsToggleOnVisage familiars.
Forged spiritToggleOnInvoker forged spirits.

Buildingsโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables display on buildings.
Particle effectToggleOnAllow the particle effect on buildings.
All buildingsToggleOnShow on all buildings. If off, the per-type settings are active. Note: barracks and the Fort support only effects with ID 3, 5, 8.
FortToggleOnThe Fort (Ancient).
TowersToggleOnTowers.
FillersToggleOnShrines.
WatchersToggleOnOutpost watchers.
BarraksToggleOnBarracks.
Underlord portalToggleOnUnderlord portals.

Wardsโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables display on wards (Observer and Sentry).
Particle effectToggleOnParticle effect on wards.

Roshanโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables display on Roshan.
Particle effectToggleOffParticle effect on Roshan.

Couriersโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables display on couriers.
Particle effectToggleOffParticle effect on couriers.

Any unitsโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables the entire "other units" section.
Hidden unitsToggleOffShow on hidden units (Mirana, Windranger, Hoodwink arrows, etc.). Warning: some units may cause interference.
TormenterToggleOnThe Tormentor (Tormentor / Miniboss).
Wisp spiritsToggleOffWisp spirits (Io).
Psionic trapsToggleOnTemplar Assassin psionic traps.
Eyes in the forestToggleOnTreant Protector eyes in the forest.

Other units โ€” sub-nodesโ€‹

Each of the following units is a separate sub-node with State (On) and Particle effect settings (the default value is shown in parentheses):

Sub-nodeUnitParticle effect default
MinesTechies minesOn
BearSpirit Bear (Lone Druid)On
NimbusZeus NimbusOff
Ice spireLich Ice SpireOff
TombstoneUndying TombstoneOff
Plague wardsVenomancer plague wardsOff
Serpent wardsShadow Shaman serpent wardsOff
Skeleton armyClinkz skeletonsOff
Will-O-WispKeeper of the Light will-o-wispOff
Roshans bannerRoshan's bannerOn
Minefield signTechies minefield signOn
Ancestral spiritElder Titan ancestral spiritOff