Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) matching ((((Triggering unit) is A Hero) Equal to True) and (((Triggering unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))) and do (Actions)

Loop - Actions


Unit - Create 1 normal dummy for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
Set unitgroup = (Units in (Playable map area) matching (((Triggering unit) belongs to an enemy of (Owner of (Matching unit))) Equal to True))
Set unitgroup = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Triggering unit) belongs to an enemy of (Owner of (Matching unit))) Equal to True)))
You know you can use only one (1) dummy to cast Slow to all units in the map, right ?
Global Slow

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Global Slow-[R]

Actions


Set globalslow = (Units in (Playable map area) matching ((((Triggering unit) belongs to an enemy of (Owner of (Matching unit))) Equal to True) and (((Matching unit) is A Hero) Equal to True)))


Unit Group - Pick every unit in globalslow and do (Actions)



Loop - Actions




Unit - Create 1 global dummy for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees




Unit - Add Slow to (Last created unit)




Unit - Order (Last created unit) to Human Sorceress - Slow (Rally-Point of (Triggering unit) as a unit)




Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
(Rally-Point of (Triggering unit) as a unit)
(Picked Unit)
Ice Type Loop

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to EA_Ability

Actions


Set EA_MaxIndex = (EA_MaxIndex + 1)


Set TempUnit = (Triggering unit)


Set TempLoc = (Position of TempUnit)


Set TempLoc2 = (Target point of ability being cast)


Set EA_Angle[EA_MaxIndex] = (Angle from TempLoc to TempLoc2)


Unit - Create 1 EA_DummyType for (Owner of (Triggering unit)) at TempLoc facing EA_Angle[EA_MaxIndex] degrees


Set EA_Arrow[EA_MaxIndex] = (Last created unit)


Trigger - Turn on Ice Type Loop 2 <gen>


Custom script: call RemoveLocation(udg_TempLoc)


Custom script: call RemoveLocation(udg_TempLoc2)
Dat grammar.If we are in 2. team, trigger works fine but if not, it doesn't freeze.How can i fix ?
