What's exactly wrong with this trigger? (probably everything
)

-
HEALTH RESET
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
((Picked unit) is alive) Equal to True
-
-
Actions
-
Set TempPoint = (Position of Tremendous Ogre 0272 <gen>)
-
Set ER_AoE = 1000.00
-
Set TempGroup = (Units within ER_AoE of TempPoint matching (((Matching unit) belongs to an ally of Player 1 (Red)) Equal to True))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in TempGroup) Equal to 0
-
-
Then - Actions
-
Unit - Set life of Tremendous Ogre 0272 <gen> to 100.00%
-
-
Else - Actions
-
-
Custom script: call DestroyGroup(udg_TempGroup)
-
Custom script: call RemoveLocation(udg_TempPoint)
-
-